Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Improved package Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
zhukov committed Jun 5, 2014
1 parent 9d9732b commit d6bfb9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
node_modules
npm-debug.log
dist
dist_package
releases
webogram*.zip
app/js/templates.js
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package:
./node_modules/gulp/bin/gulp.js clean
./node_modules/gulp/bin/gulp.js package
find dist | grep "DS_Store" | xargs rm -rf
cd dist && zip -r ../releases/webogram_v$(version).zip .
cp -r dist dist_package
find dist_package | grep "\.git\|DS_Store" | xargs rm -rf
cd dist_package && zip -r ../releases/webogram_v$(version).zip .

publish:
./node_modules/gulp/bin/gulp.js clean
Expand Down

0 comments on commit d6bfb9d

Please sign in to comment.