Improved package Makefile
This commit is contained in:
parent
9d9732bb47
commit
d6bfb9d7c7
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,6 +6,7 @@
|
|||||||
node_modules
|
node_modules
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
dist
|
dist
|
||||||
|
dist_package
|
||||||
releases
|
releases
|
||||||
webogram*.zip
|
webogram*.zip
|
||||||
app/js/templates.js
|
app/js/templates.js
|
5
Makefile
5
Makefile
@ -1,8 +1,9 @@
|
|||||||
package:
|
package:
|
||||||
./node_modules/gulp/bin/gulp.js clean
|
./node_modules/gulp/bin/gulp.js clean
|
||||||
./node_modules/gulp/bin/gulp.js package
|
./node_modules/gulp/bin/gulp.js package
|
||||||
find dist | grep "DS_Store" | xargs rm -rf
|
cp -r dist dist_package
|
||||||
cd dist && zip -r ../releases/webogram_v$(version).zip .
|
find dist_package | grep "\.git\|DS_Store" | xargs rm -rf
|
||||||
|
cd dist_package && zip -r ../releases/webogram_v$(version).zip .
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
./node_modules/gulp/bin/gulp.js clean
|
./node_modules/gulp/bin/gulp.js clean
|
||||||
|
Loading…
Reference in New Issue
Block a user