Skip to content

Commit

Permalink
Add proper release script for FF
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceK33z committed Dec 19, 2016
1 parent 390db5a commit 5fa9fa1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules/
pkg.zip
pkg*.zip
build/
17 changes: 13 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
release:
rm -f pkg.zip
cd src; zip -r ../pkg.zip **
# Empty rule to force other rules to be updated.
FORCE:

firefox:
release: FORCE release-chrome release-firefox

firefox: FORCE
rm -rf build/firefox
mkdir -p build
cp -r src/. build/firefox
rm build/firefox/manifest.json
mv build/firefox/manifest_firefox.json build/firefox/manifest.json

release-chrome: FORCE
rm -f pkg-chrome.zip
cd src; zip -r ../pkg-chrome.zip **

release-firefox: FORCE firefox
rm -f pkg-firefox.zip
cd build/firefox; zip -r ../../pkg-firefox.zip **

0 comments on commit 5fa9fa1

Please sign in to comment.