Sign in
apache
/
incubator
/
53451a57df52a8ddd40d6e7f9fd1a07c1df7c19b
/
.
/
build_local.sh
blob: 9de8fee10a8088474f27c34043d663506d01fd73 [
file
] [
log
] [
blame
]
#!/bin/bash
CURRENTDIR
=
`pwd`
export WORKDIR
=/
tmp
/
incubator
-
site
function
fatal
()
{
echo $
*
>&
2
exit
1
}
rm
-
rf $WORKDIR
mkdir
-
p $WORKDIR
# just bake and serve the site
./
bake
.
sh
-
b
-
s
.
$WORKDIR
||
fatal
"Build failed, exiting"