2022-05-01 11:11:13 -04:00
|
|
|
all: quox
|
|
|
|
|
2022-05-02 14:51:19 -04:00
|
|
|
quox:
|
2022-05-04 12:49:00 -04:00
|
|
|
nix build '.#quox-exe'
|
|
|
|
ln -sfL $$(realpath result/bin/quox) quox
|
2022-05-02 14:51:19 -04:00
|
|
|
|
|
|
|
quox-tests:
|
2022-05-04 12:49:00 -04:00
|
|
|
nix build '.#quox-tests'
|
|
|
|
ln -sfL $$(realpath result/bin/quox-tests) quox-tests
|
2022-04-27 14:07:08 -04:00
|
|
|
|
|
|
|
.PHONY: lib
|
|
|
|
lib:
|
2022-05-04 12:49:00 -04:00
|
|
|
nix build '.#quox'
|
2022-04-27 14:07:08 -04:00
|
|
|
|
|
|
|
.PHONY: test
|
2022-05-04 12:49:00 -04:00
|
|
|
test:
|
|
|
|
nix run -- '.#quox-tests' -V 14
|
2022-05-01 20:41:00 -04:00
|
|
|
|
|
|
|
.PHONY: prove
|
2022-05-02 14:51:19 -04:00
|
|
|
prove: quox-tests
|
|
|
|
prove ./quox-tests
|
2022-04-27 14:07:08 -04:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2022-05-04 12:49:00 -04:00
|
|
|
rm -f quox quox-tests result
|