aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 94da109..acdb95e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,23 @@
all: build pack
+# Make alias to simplify building for Mozilla staff when reviewing extensions
+mozaddons:
+ $(MAKE) deepclean
+ $(MAKE) bootstrap
+ pnpm i
+ $(MAKE) build
+ $(MAKE) pack
+
+clean:
+ rm -rf build static/generated .svelte-kit artifacts
+deepclean: clean
+ rm -rf node_modules
+ rm static/manifest.json || true
+ ln -s ../manifest.json static/manifest.json
+
+bootstrap:
+ ./bootstrap
+
build:
pnpm build