aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: acdb95e2dab6166c3df92b1fa6d22dcfeae26a5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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

pack:
	contrib/pack