summarylogtreecommitdiffstats
path: root/Makefile
blob: f51be4d766d584ecd1bb1f8f59e49adf8c2f904d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
all:
	updpkgsums
	makepkg --printsrcinfo > .SRCINFO
	rm -f *.zip
	rm -f *.zst

clean:
	rm -f *.zip
	rm -f *.zst

test:
	make clean
	makepkg --cleanbuild
	namcap PKGBUILD
	namcap *.pkg.tar.zst

mount:
	xhost +local:$(USER)
	docker run -it -w /vol \
		-v ./:/vol \
		-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
		$(shell docker build -qf .docker/Dockerfile-testarch .) \
		# "yay -Sy --noconfirm --nopgpfetch python-suntime && yay -U yin-yang-*.zst && bash"
	xhost -