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