release 0.3.2
This commit is contained in:
21
Makefile
21
Makefile
@@ -30,6 +30,7 @@
|
|||||||
# make xpi # package Firefox -> dist/logsdu-<version>-firefox.xpi
|
# make xpi # package Firefox -> dist/logsdu-<version>-firefox.xpi
|
||||||
# make crx # package Chrome -> dist/logsdu-<version>-chrome.zip
|
# make crx # package Chrome -> dist/logsdu-<version>-chrome.zip
|
||||||
# make packages # both of the above (same as plain "make")
|
# make packages # both of the above (same as plain "make")
|
||||||
|
# make prune # drop packages left in dist/ by earlier versions
|
||||||
# make clean # remove build/, dist/ and stray packages
|
# make clean # remove build/, dist/ and stray packages
|
||||||
# make distclean # clean, plus node_modules/
|
# make distclean # clean, plus node_modules/
|
||||||
#
|
#
|
||||||
@@ -63,7 +64,7 @@ DIST := dist
|
|||||||
XPI := $(DIST)/$(EXT_ID)-$(VERSION)-firefox.xpi
|
XPI := $(DIST)/$(EXT_ID)-$(VERSION)-firefox.xpi
|
||||||
CRX := $(DIST)/$(EXT_ID)-$(VERSION)-chrome.zip
|
CRX := $(DIST)/$(EXT_ID)-$(VERSION)-chrome.zip
|
||||||
|
|
||||||
.PHONY: all firefox chrome typecheck test smoke xpi crx packages clean \
|
.PHONY: all firefox chrome typecheck test smoke prune xpi crx packages clean \
|
||||||
distclean check-deps
|
distclean check-deps
|
||||||
|
|
||||||
# The default does the lot: build both browsers and package both. Packaging is
|
# The default does the lot: build both browsers and package both. Packaging is
|
||||||
@@ -106,10 +107,21 @@ chrome: typecheck
|
|||||||
@echo "Select the folder itself; Chrome wants the directory holding manifest.json."
|
@echo "Select the folder itself; Chrome wants the directory holding manifest.json."
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
|
# Drop packages left over from earlier versions.
|
||||||
|
#
|
||||||
|
# Package names carry their version, so a bump does not overwrite the previous
|
||||||
|
# build -- without this, dist/ accumulates every version ever built and it
|
||||||
|
# becomes easy to upload the wrong file to a store. dist/ is regenerated
|
||||||
|
# output: keep signed downloads from AMO somewhere else, not here.
|
||||||
|
prune:
|
||||||
|
@mkdir -p $(DIST)
|
||||||
|
@find $(DIST) -maxdepth 1 -type f \( -name '$(EXT_ID)-*.xpi' -o -name '$(EXT_ID)-*.zip' \) \
|
||||||
|
! -name '$(notdir $(XPI))' ! -name '$(notdir $(CRX))' \
|
||||||
|
-print -delete | sed 's/^/removed stale package: /'
|
||||||
|
|
||||||
# An .xpi is just a zip of the extension directory, with the manifest at the
|
# An .xpi is just a zip of the extension directory, with the manifest at the
|
||||||
# top level rather than inside a wrapper folder.
|
# top level rather than inside a wrapper folder.
|
||||||
xpi: firefox
|
xpi: firefox prune
|
||||||
@mkdir -p $(DIST)
|
|
||||||
rm -f $(XPI)
|
rm -f $(XPI)
|
||||||
cd $(FIREFOX_DIR) && zip -qr $(CURDIR)/$(XPI) .
|
cd $(FIREFOX_DIR) && zip -qr $(CURDIR)/$(XPI) .
|
||||||
@echo
|
@echo
|
||||||
@@ -129,8 +141,7 @@ xpi: firefox
|
|||||||
@echo
|
@echo
|
||||||
|
|
||||||
# The Chrome Web Store takes a plain zip, and does the packing into .crx itself.
|
# The Chrome Web Store takes a plain zip, and does the packing into .crx itself.
|
||||||
crx: chrome
|
crx: chrome prune
|
||||||
@mkdir -p $(DIST)
|
|
||||||
rm -f $(CRX)
|
rm -f $(CRX)
|
||||||
cd $(CHROME_DIR) && zip -qr $(CURDIR)/$(CRX) .
|
cd $(CHROME_DIR) && zip -qr $(CURDIR)/$(CRX) .
|
||||||
@echo
|
@echo
|
||||||
|
|||||||
BIN
dist/logsdu-0.3.2-chrome.zip
vendored
Normal file
BIN
dist/logsdu-0.3.2-chrome.zip
vendored
Normal file
Binary file not shown.
BIN
dist/logsdu-0.3.2-firefox.xpi
vendored
Normal file
BIN
dist/logsdu-0.3.2-firefox.xpi
vendored
Normal file
Binary file not shown.
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "logsdu",
|
"name": "logsdu",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"description": "Browser extension that fills and submits a three-field academic portal login.",
|
"description": "Browser extension that fills and submits a three-field academic portal login.",
|
||||||
"author": "Ruben Carlo Benante <rcb@beco.cc>",
|
"author": "Ruben Carlo Benante <rcb@beco.cc>",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "logsdu",
|
"name": "logsdu",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"description": "Saves and fills logins that password managers cannot: registration number, date of birth and document number.",
|
"description": "Saves and fills logins that password managers cannot: registration number, date of birth and document number.",
|
||||||
"author": "Ruben Carlo Benante (Dr. Beco)",
|
"author": "Ruben Carlo Benante (Dr. Beco)",
|
||||||
"homepage_url": "https://code.beco.cc/beco/logsdu",
|
"homepage_url": "https://code.beco.cc/beco/logsdu",
|
||||||
|
|||||||
Reference in New Issue
Block a user