Skip to content

Commit

Permalink
feat (systemaddon): mozilla#2944 add tippy top icons
Browse files Browse the repository at this point in the history
  • Loading branch information
rlr committed Jul 25, 2017
1 parent b9d57b3 commit 66c05bf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ common/vendor.js
*.update.rdf
system-addon/data/content/activity-stream.bundle.js
system-addon/data/content/activity-stream.css
system-addon/data/content/tippytop
system-addon/data/locales.json
pocket.json
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,12 @@
"bundlestats": "NODE_ENV=production webpack --json | webpack-bundle-size-analyzer",
"mochitest": "(cd ../mozilla-central && ./mach mochitest browser/extensions/activity-stream/test/functional/mochitest )",
"mochitest-debug": "(cd ../mozilla-central && ./mach mochitest --jsdebugger browser/extensions/activity-stream/test/functional/mochitest )",
"cleanmc": "rimraf ../mozilla-central/browser/extensions/activity-stream",
"cleanTippyTop": "rimraf system-addon/data/content/tippytop",
"copyTippyTopManifest": "cpx \"node_modules/tippy-top-sites/top_sites.json\" system-addon/data/content/tippytop",
"copyTippyTopImages": "cpx \"node_modules/tippy-top-sites/images/**/*\" system-addon/data/content/tippytop/images",
"buildmc": "npm-run-all buildmc:*",
"prebuildmc": "rimraf ../mozilla-central/browser/extensions/activity-stream",
"prebuildmc": "npm run cleanmc && npm run cleanTippyTop && npm run copyTippyTopManifest && npm run copyTippyTopImages",
"buildmc:webpack": "webpack --config webpack.system-addon.config.js",
"buildmc:css": "node-sass system-addon/content-src/activity-stream.scss -o system-addon/data/content",
"buildmc:locales": "pontoon-to-json --src locales --dest system-addon/data",
Expand Down
10 changes: 9 additions & 1 deletion yamscripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,17 @@ scripts:
# mochitest somewhere.
mochitest-debug: (cd ../mozilla-central && ./mach mochitest --jsdebugger browser/extensions/activity-stream/test/functional/mochitest )

cleanmc: rimraf ../mozilla-central/browser/extensions/activity-stream

cleanTippyTop: rimraf system-addon/data/content/tippytop

copyTippyTopManifest: cpx "node_modules/tippy-top-sites/top_sites.json" system-addon/data/content/tippytop

copyTippyTopImages: cpx "node_modules/tippy-top-sites/images/**/*" system-addon/data/content/tippytop/images

# buildmc: Export the bootstraped add-on to mozilla central
buildmc:
pre: rimraf ../mozilla-central/browser/extensions/activity-stream
pre: =>cleanmc && =>cleanTippyTop && =>copyTippyTopManifest && =>copyTippyTopImages
webpack: webpack --config webpack.system-addon.config.js
css: node-sass system-addon/content-src/activity-stream.scss -o system-addon/data/content
locales: pontoon-to-json --src locales --dest system-addon/data
Expand Down

0 comments on commit 66c05bf

Please sign in to comment.