Skip to content

Commit

Permalink
pack script
Browse files Browse the repository at this point in the history
  • Loading branch information
leo108 committed Oct 20, 2016
1 parent 740a3fb commit 494b9b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pack.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

rm -rf public/build public/css public/js
rm -rf public/build public/css public/js build.zip
yarn
npm run prod
git clean -e public -e vendor -dxf
zip -r build.zip . -x ".git/*" -x build.zip
git clean -e public -e vendor -e '.env' -e '.idea' -dxf
zip -q -r build.zip . -x ".git/*" -x build.zip -x ".idea/*" -x ".env"

0 comments on commit 494b9b6

Please sign in to comment.