summarylogtreecommitdiffstats
path: root/Makefile
blob: a03d2c6d8cebc05a0cd81875aadee348ec770080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
build-image:
	docker build -t build-byndid:latest .

build: clean
	docker run --rm -v $(shell pwd):/build --name build-byndid build-byndid:latest

test:
	docker run --rm -v $(shell pwd):/build --name build-byndid build-byndid:latest /bin/sh -c "namcap /build/*.pkg.tar.zst"

run:
	docker run -it --rm -v $(shell pwd):/build --name build-byndid build-byndid:latest /bin/bash

run-asroot:
	docker run --user=root -it --rm -v $(shell pwd):/build --name build-byndid build-byndid:latest /bin/bash

clean:
	rm -rf pkg/ src/ beyond-identity-bin-* beyond-identity-*.tar.gz

srcinfo:
	docker run -it --rm -v $(shell pwd):/build --name build-byndid build-byndid:latest /bin/sh -c "makepkg --printsrcinfo > /build/.SRCINFO"