Skip to content

Commit 0709764

Browse files
Use AMO id in manifest
1 parent 8c1d45b commit 0709764

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

Makefile

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
EXT := extension
2+
SRC := $(shell find . \
3+
-type f -not -path "./.git/*" \
4+
-type f -not -path "*.zip" \
5+
-type f -not -path "*.xpi" \
6+
-and -not -path "Makefile")
27

38
.POSIX:
49
.SUFFIXES:
510

611
$(EXT).xpi: $(EXT).zip
712
cp $< $@
813

9-
$(EXT).zip:
10-
zip -r -FS ./$@ * --exclude '*.git*'
14+
$(EXT).zip: $(SRC)
15+
zip -r -FS ./$@ $(SRC)
1116

1217
.PHONY: clean
1318
clean:
1419
$(RM) $(EXT).zip $(EXT).xpi
20+
21+
.PHONY: re
22+
re: clean $(EXT).xpi
23+
24+
.NOTPARALLEL: re

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
],
2020
"browser_specific_settings": {
2121
"gecko": {
22-
22+
"id": "{5add367e-cb92-4f5a-b08c-363808acbb14}"
2323
}
2424
},
2525
"icons": {

0 commit comments

Comments
 (0)