This commit is contained in:
Michael Zhang 2023-01-21 03:03:54 -06:00
parent 000000300a
commit 00000040d1
3 changed files with 10 additions and 2 deletions

View file

@ -1,4 +1,4 @@
/target
input
out.ppm
handin.tar.gz

7
assignment-0/Makefile Normal file
View file

@ -0,0 +1,7 @@
.PHONY: clean
handin.tar.gz:
tar -czvf $@ target/release/assignment-0 Cargo.* input out.ppm README.md src
clean:
rm -f handin.tar.gz

View file

@ -12,7 +12,8 @@
toolchain = pkgs.fenix.stable;
in rec {
devShell = pkgs.mkShell {
packages = (with pkgs; [ cargo-watch cargo-deny cargo-edit ])
packages =
(with pkgs; [ cargo-watch cargo-deny cargo-edit zip unzip ])
++ (with toolchain; [ cargo rustc rustfmt clippy ]);
CARGO_UNSTABLE_SPARSE_REGISTRY = "true";
};