Sign in
apache
/
incubator
/
d79fdd654710ee5db04a7be359f82969b8cad8eb
/
.
/
build_local.sh
blob: c5ad2e7654e4dce308f78a310ff018ff2bfbc830 [
file
] [
log
] [
blame
]
#!/bin/bash
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"