- commit
- 1354c05761251fb9722789dfff38a8536ee7cc30
- parent
- 745954e2c894b65dffea2e977beebaeda84a78d8
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2022-09-08 13:10
download vendored files from github instead of npm
Diffstat
| M | Makefile | 17 | ++++++++--------- |
1 files changed, 8 insertions, 9 deletions
diff --git a/Makefile b/Makefile
@@ -1,12 +1,14 @@ 1 1 PATH := node_modules/.bin:$(PATH) 2 23 -1 bundle.zip: manifest.json icon-128.png bg.js outline.js treeview.js outline.css4 -1 mkdir -p vendor5 -1 cp node_modules/aria-api/dist/aria.js vendor/6 -1 cp node_modules/dialog-polyfill/dist/dialog-polyfill.js vendor/7 -1 cp node_modules/dialog-polyfill/dialog-polyfill.css vendor/-1 3 bundle.zip: manifest.json icon-128.png bg.js outline.js treeview.js outline.css vendor 8 4 rm -f $@9 -1 zip -r $@ $^ vendor-1 5 zip -r $@ $^ -1 6 -1 7 vendor: -1 8 mkdir -p vendor -1 9 wget https://raw.githubusercontent.com/xi/aria-api/0.4.2/dist/aria.js -O vendor/aria.js -1 10 wget https://raw.githubusercontent.com/GoogleChrome/dialog-polyfill/v0.5.6/dist/dialog-polyfill.js -O vendor/dialog-polyfill.js -1 11 wget https://raw.githubusercontent.com/GoogleChrome/dialog-polyfill/v0.5.6/dist/dialog-polyfill.css -O vendor/dialog-polyfill.css 10 12 11 13 icon-128.png: icon.svg 12 14 inkscape $< --export-filename=$@ @@ -14,8 +16,5 @@ icon-128.png: icon.svg 14 16 outline.css: src/outline.scss node_modules 15 17 npx sass $< $@ 16 1817 -1 node_modules:18 -1 npm install aria-api@0.4.2 dialog-polyfill@0.5.619 -120 19 clean: 21 20 rm -rf vendor outline.css