diff --git a/assignment-0/.gitignore b/assignment-0/.gitignore index c5348e3..12ccadc 100644 --- a/assignment-0/.gitignore +++ b/assignment-0/.gitignore @@ -1,4 +1,4 @@ /target input out.ppm - +handin.tar.gz diff --git a/assignment-0/Makefile b/assignment-0/Makefile new file mode 100644 index 000000000..8b31ba0 --- /dev/null +++ b/assignment-0/Makefile @@ -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 diff --git a/flake.nix b/flake.nix index 77f36b9..78974e9 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; };