hand in
This commit is contained in:
parent
000000300a
commit
00000040d1
3 changed files with 10 additions and 2 deletions
2
assignment-0/.gitignore
vendored
2
assignment-0/.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
/target
|
||||
input
|
||||
out.ppm
|
||||
|
||||
handin.tar.gz
|
||||
|
|
7
assignment-0/Makefile
Normal file
7
assignment-0/Makefile
Normal 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
|
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue