Polish
This commit is contained in:
parent
00000180d3
commit
00000190c4
3 changed files with 20 additions and 3 deletions
|
@ -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"] }
|
||||||
|
|
|
@ -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 $@ $<
|
||||||
|
|
|
@ -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`.
|
Loading…
Reference in a new issue