src: attempt to make the hierachy more nice
This commit is contained in:
parent
82d0363a39
commit
cef4c85314
17
Makefile
17
Makefile
@ -1,2 +1,17 @@
|
||||
all:
|
||||
cargo run
|
||||
@ printf '%s\n' "Unknown option parsed in target all" ; exit 2
|
||||
|
||||
run:
|
||||
@ cargo run \
|
||||
--jobs "$$(nproc)" \
|
||||
--target-dir "target" \
|
||||
--manifest-path="$$(pwd)/src/Cargo.toml"
|
||||
|
||||
build:
|
||||
@ cargo build \
|
||||
--jobs "$$(nproc)" \
|
||||
--target-dir "target" \
|
||||
--manifest-path="$$(pwd)/src/Cargo.toml"
|
||||
|
||||
release:
|
||||
@ printf '%s\n' "FIXME: Release logic needed" ; exit 1
|
0
Cargo.lock → src/Cargo.lock
generated
0
Cargo.lock → src/Cargo.lock
generated
@ -4,7 +4,9 @@ version = "0.1.0"
|
||||
authors = ["Kreyren <KostWarCZE@RiXotStudio.cz>"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[[bin]]
|
||||
name = "main-bin"
|
||||
path = "main.rs"
|
||||
|
||||
[dependencies]
|
||||
clap = "*"
|
Loading…
Reference in New Issue
Block a user