Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

Commit

Permalink
fix(package): Combine xpi and dist package scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mardak committed Feb 2, 2017
1 parent 5a7dbf6 commit 083a326
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@
"benchmark": "npm run benchmark-with -- -f \".*benchmark.js\"",
"tdd": "npm run test:karma -- --no-single-run --browsers Chrome",
"package": "npm-run-all package:*",
"package:xpi": "npm run bundle && jpm xpi",
"package:dist": "mv activity-streams.xpi dist/activity-streams-$npm_package_version.xpi",
"package:dist": "npm run bundle && jpm xpi && mv activity-streams.xpi dist/activity-streams-$npm_package_version.xpi",
"package:mozilla-central": "npm-run-all package:mozilla-central:*",
"package:mozilla-central:unpack": "decompress dist/activity-streams-$npm_package_version.xpi -o dist/mozilla-central",
"package:mozilla-central:copy": "cpx \"mozilla-central/**\" dist/mozilla-central",
Expand Down
3 changes: 1 addition & 2 deletions yamscripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ scripts:

# package: Build add-on
package:
xpi: =>bundle && jpm xpi
dist: mv activity-streams.xpi dist/activity-streams-$npm_package_version.xpi
dist: =>bundle && jpm xpi && mv activity-streams.xpi dist/activity-streams-$npm_package_version.xpi
mozilla-central:
unpack: decompress dist/activity-streams-$npm_package_version.xpi -o dist/mozilla-central
copy: cpx "mozilla-central/**" dist/mozilla-central
Expand Down

0 comments on commit 083a326

Please sign in to comment.