Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use webpack for building all sub-modules #103

Merged
merged 8 commits into from
Aug 28, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Build jsdoc with the extension
MikkCZ committed Aug 28, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 6f73408a2213b8a686a0a5d1887066d116a8bed3
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,6 @@ script:
- yarn build

before_deploy:
- yarn run doc
- mkdir -p ./build/_deploy
- mv ./build/web-ext/mozilla/pontoon_tools-*.zip ./build/_deploy/pontoon_tools-mozilla.zip
- mv ./build/web-ext/chrome/pontoon_tools-*.zip ./build/_deploy/pontoon_tools-chrome.zip
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -34,8 +34,8 @@
"chrome:source": "mkdir -p ./build/chrome-src && cp -Lr ./src/* ./build/chrome-src && mv ./build/chrome-src/manifest-chrome.json ./build/chrome-src/manifest.json",
"chrome:build": "yarn chrome:source && web-ext build -s ./build/chrome-src -a ./build/web-ext/chrome",
"mozilla:build": "web-ext build -s ./src -a ./build/web-ext/mozilla",
"build": "lerna exec --parallel -- yarn build && web-ext lint -s ./src && npm-run-all mozilla:build chrome:build",
"doc": "jsdoc ./src ./README.md -r -d ./build/docs",
"build": "lerna exec --parallel -- yarn build && web-ext lint -s ./src && npm-run-all mozilla:build chrome:build doc",
"clean": "rm -rf ./build"
}
}