update Makefile
This commit is contained in:
parent
658987892c
commit
a405f9db66
1 changed files with 10 additions and 0 deletions
10
Makefile
10
Makefile
|
|
@ -4,3 +4,13 @@ SET_VERSION = $(eval CURRENT_VERSION=$(VERSION))
|
||||||
default:
|
default:
|
||||||
$(SET_VERSION)
|
$(SET_VERSION)
|
||||||
zip -r releases/epas-ripper-$(CURRENT_VERSION).xpi style.css content.js lib archive-viewer manifest.json icons
|
zip -r releases/epas-ripper-$(CURRENT_VERSION).xpi style.css content.js lib archive-viewer manifest.json icons
|
||||||
|
|
||||||
|
prepare_pack:
|
||||||
|
rm -rf build
|
||||||
|
mkdir -p build
|
||||||
|
cp -r style.css content.js lib archive-viewer manifest.json icons build
|
||||||
|
|
||||||
|
pack: prepare_pack
|
||||||
|
$(SET_VERSION)
|
||||||
|
chromium-browser --pack-extension=build --pack-extension-key=key.pem
|
||||||
|
mv build.crx releases/epas-ripper-$(CURRENT_VERSION).crx
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue