aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-02-24 03:39:37 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-02-24 03:39:37 +0100
commit7340682fd77fd89d38bf17cf9b194c5d2f602088 (patch)
tree8f66d78363c1cd25bf0545ef0395456bc0c74eb2 /Makefile
parentc903407fc20d97fbfd6a25a2a85c05d91fbefb07 (diff)
downloadhttptool-7340682fd77fd89d38bf17cf9b194c5d2f602088.tar.gz
httptool-7340682fd77fd89d38bf17cf9b194c5d2f602088.tar.bz2
httptool-7340682fd77fd89d38bf17cf9b194c5d2f602088.tar.lz
httptool-7340682fd77fd89d38bf17cf9b194c5d2f602088.zip

feat: make life easy for moz staff

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