Skip to content
Maidfile.toml 352 B
Newer Older
[project]
theMackabu's avatar
theMackabu committed
name = "script"
version = "0.4.1"

[tasks]
clean = { script = ["rm -rf bin", "mkdir bin"] }
theMackabu's avatar
theMackabu committed
run = { script = ["maid build -q", "bash -c './bin/script | bunyan'"] }

[tasks.build]
depends = ["clean"]
script = [
   "cargo zigbuild --release", 
theMackabu's avatar
theMackabu committed
   "cp target/release/script bin/script"
]

[tasks.build.cache]
path = "src"
theMackabu's avatar
theMackabu committed
target = ["bin/script"]