This commit is contained in:
Michael Zhang 2023-02-01 16:19:56 -06:00
parent 234b5d1a9d
commit b4feb95743
3 changed files with 20 additions and 3 deletions

View file

@ -1,10 +1,9 @@
[package] [package]
name = "assignment-1" name = "assignment-1"
authors = ["Michael Zhang <zhan4854@umn.edu>"]
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
anyhow = "1.0.68" anyhow = "1.0.68"
clap = { version = "4.1.4", features = ["derive"] } clap = { version = "4.1.4", features = ["derive"] }

View file

@ -23,7 +23,7 @@ $(BINARY): $(SOURCES)
mv target/release/assignment-1 $@ mv target/release/assignment-1 $@
$(HANDIN): $(BINARY) $(WRITEUP) Cargo.toml Cargo.lock README.md $(HANDIN): $(BINARY) $(WRITEUP) Cargo.toml Cargo.lock README.md
$(ZIP) -r $@ src $< $(ZIP) -r $@ src $^
writeup.pdf: writeup.md writeup.pdf: writeup.md
$(PANDOC) -o $@ $< $(PANDOC) -o $@ $<

View file

@ -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`.