Build Garage with Nix

This commit is contained in:
Quentin Dufour
2021-10-04 18:27:57 +02:00
parent 1acf7e4c66
commit dc017a0cab
23 changed files with 4007 additions and 136 deletions
+5 -2
View File
@@ -1,4 +1,4 @@
.PHONY: doc
.PHONY: doc all release shell
all:
clear; cargo build
@@ -7,4 +7,7 @@ doc:
cd doc/book; mdbook build
release:
RUSTFLAGS="-C link-arg=-fuse-ld=lld -C target-cpu=x86-64 -C target-feature=+sse2" cargo build --release --no-default-features
nix-build --arg release true
shell:
nix-shell