forked from rubenmv/chrome-extension-custom-button
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (25 loc) · 1 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.PHONY: release
install:
@npm install
release: release-ifttt release-webrequest
@echo "All packages are ready."
release-ifttt:
@cp -f src/globals-ifttt.js src/globals.js
@RELEASE_PATH=release/ifttt npm run release
@rm -f release/ifttt/globals-*.js
@cd release/ifttt && zip -ur ../ifttt.zip .
release-ifttt-bookmark:
@cp -f src/globals-ifttt-bookmark.js src/globals.js
@RELEASE_PATH=release/ifttt-bookmark npm run release
@rm -f release/ifttt-bookmark/globals-*.js
@cd release/ifttt-bookmark && zip -ur ../ifttt-bookmark.zip .
release-ifttt-toggle-button:
@cp -f src/globals-ifttt-toggle-button.js src/globals.js
@RELEASE_PATH=release/ifttt-toggle-button npm run release
@rm -f release/ifttt-toggle-button/globals-*.js
@cd release/ifttt-toggle-button && zip -ur ../ifttt-toggle-button.zip .
release-webrequest:
@cp -f src/globals-webrequest.js src/globals.js
@RELEASE_PATH=release/webrequest npm run release
@rm -f release/webrequest/globals-*.js
@cd release/webrequest && zip -ur ../webrequest.zip .