add Makefile

This commit is contained in:
gapato 2026-06-08 21:10:06 +02:00
commit 6dd28e68bc

6
Makefile Normal file
View file

@ -0,0 +1,6 @@
VERSION = $(shell sed -n '/"version"/s/.*\"\([0-9.]\+\)\",/\1/p' manifest.json)
SET_VERSION = $(eval CURRENT_VERSION=$(VERSION))
default:
$(SET_VERSION)
zip -r releases/epas-ripper-$(CURRENT_VERSION).xpi style.css content.js lib archive-viewer manifest.json