Permalink
Browse files

Update tarball.sh

  • Loading branch information...
andreas-gruenbacher committed Feb 6, 2018
1 parent e95fe44 commit a75e84532083d572f4ee11270f87ed4855267fba
Showing with 6 additions and 8 deletions.
  1. +6 −8 tarball.sh
@@ -14,14 +14,13 @@ trap "rm -rf $tmpdir" EXIT
mkdir "$tmpdir/$basename"
git archive "$tag" | tar -C "$tmpdir/$basename" -x

cd "$tmpdir/$basename/backend"
npm install > /dev/null

MARKO_FILES='views/*.marko emails/*.marko'
node_modules/marko/bin/markoc $MARKO_FILES
rm -f $MARKO_FILES
cd "$tmpdir/$basename"
make -f $topdir/Makefile install
make -f $topdir/Makefile build
make -f $topdir/Makefile

npm run build
cd "$tmpdir/$basename/backend"
rm -fv views/*.marko emails/*.marko

cd dist
find . -type f -print0 \
@@ -31,7 +30,6 @@ cd ..
rm -rf dist

cd ..
make -f $topdir/Makefile download

sed -e "s:@PACKAGE@:$PACKAGE:g" \
-e "s:@VERSION@:$version:g" \

0 comments on commit a75e845

Please sign in to comment.