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

Commit

Permalink
Small Makefile improvements
Browse files Browse the repository at this point in the history
Add make bootstrap_zip to build a zip that includes bootstrap.js
Silence the messages from pontoon-to-webext
Clarify that install.rdf depends on package.json
  • Loading branch information
ianb committed Apr 20, 2017
1 parent d214877 commit d44f34a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ zip: addon
# We'll try to remove this directory, but it's no big deal if we can't:
rmdir web-ext-artifacts || true

.PHONY: bootstrap_zip
bootstrap_zip: addon
@rm -f build/screenshots-bootstrap.zip
cd addon && zip -rq ../build/screenshots-bootstrap.zip .
# build/screenshots-bootstrap.js created

.PHONY: signed_xpi
signed_xpi: addon
rm -f web-ext-artifacts/*.xpi
Expand All @@ -114,9 +120,9 @@ signed_xpi: addon

.PHONY: addon_locales
addon_locales:
./node_modules/.bin/pontoon-to-webext --dest addon/webextension/_locales
./node_modules/.bin/pontoon-to-webext --dest addon/webextension/_locales > /dev/null

addon/install.rdf: addon/install.rdf.template
addon/install.rdf: addon/install.rdf.template package.json
./bin/build-scripts/update_manifest.py $< $@

addon/webextension/manifest.json: addon/webextension/manifest.json.template build/.backend.txt package.json
Expand Down

0 comments on commit d44f34a

Please # to comment.