From 00000190c4e55da5bdc1d31543e4b5514182e74f Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Wed, 1 Feb 2023 16:19:56 -0600 Subject: [PATCH] Polish --- assignment-1/Cargo.toml | 3 +-- assignment-1/Makefile | 2 +- assignment-1/README.md | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/assignment-1/Cargo.toml b/assignment-1/Cargo.toml index bd448d6..4e44223 100644 --- a/assignment-1/Cargo.toml +++ b/assignment-1/Cargo.toml @@ -1,10 +1,9 @@ [package] name = "assignment-1" +authors = ["Michael Zhang "] version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] anyhow = "1.0.68" clap = { version = "4.1.4", features = ["derive"] } diff --git a/assignment-1/Makefile b/assignment-1/Makefile index 79176e2..c13743c 100644 --- a/assignment-1/Makefile +++ b/assignment-1/Makefile @@ -23,7 +23,7 @@ $(BINARY): $(SOURCES) mv target/release/assignment-1 $@ $(HANDIN): $(BINARY) $(WRITEUP) Cargo.toml Cargo.lock README.md - $(ZIP) -r $@ src $< + $(ZIP) -r $@ src $^ writeup.pdf: writeup.md $(PANDOC) -o $@ $< diff --git a/assignment-1/README.md b/assignment-1/README.md index e69de29..096d536 100644 --- a/assignment-1/README.md +++ b/assignment-1/README.md @@ -0,0 +1,18 @@ +# Raycaster + +Writeup is located at `/writeup.pdf`. + +The binary can be found at `/assignment-1`. Run `./assignment-1 --help` to see +how to use it. The binary has been built using the Rust Docker image, which +should have an environment similar to CSELabs. If there is trouble running the +binary, try building form source: + +## Building from source + +The Makefile currently uses Docker to produce a more consistent build. If you +have a Rust+Cargo toolchain installed locally, it's also possible to build the +source using just: + + cargo build --release + +The binary will be found in `target/release`.