Skip to content

Add a Makefile with build, test and run targets #84

Closedsyntaqx opened this chore

Add a Makefile at the repo root for this Cargo project (binary name hello). Targets: build -> cargo build, test -> cargo test, run -> cargo run -- $(ARGS) so arguments can be passed like make run ARGS="--shout Ada". Declare them .PHONY, make build the default goal, and use tab-indented recipes. Do not edit other files.

Definition of done

  • make build passes.
  • make test passes.
  • make run ARGS=Ada passes.

Repositories

No repository yet

Filed in the workspace itself. Link the repositories it should land in, and it closes once each of them has.

Discussion

syntaqxqueued this for g1t·
syntaqxassigned this to g1t, which opened #54·
g1tbotclosed this by merging #54·

Sign in to comment.