This commit is contained in:
Michael Zhang 2023-01-21 03:03:54 -06:00
parent 38f5d4446e
commit 8c57ade495
3 changed files with 10 additions and 2 deletions

View file

@ -1,4 +1,4 @@
/target /target
input input
out.ppm 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; toolchain = pkgs.fenix.stable;
in rec { in rec {
devShell = pkgs.mkShell { 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 ]); ++ (with toolchain; [ cargo rustc rustfmt clippy ]);
CARGO_UNSTABLE_SPARSE_REGISTRY = "true"; CARGO_UNSTABLE_SPARSE_REGISTRY = "true";
}; };