Skip to content
Maidfile.toml 491 B
Newer Older
theMackabu's avatar
theMackabu committed
import = ["util/convert.toml"]

theMackabu's avatar
theMackabu committed
[project]
name = "mkcss"
theMackabu's avatar
theMackabu committed
version = "0.2.0"
theMackabu's avatar
theMackabu committed

[tasks.build]
info = "Build binaries"
script = [
   "maid clean -q",
   "cargo build --release", 
   "mv target/release/mkcss bin/mkcss",
]

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

theMackabu's avatar
theMackabu committed
[tasks]
clean = { info = "Clean binary files", script = ["rimraf bin", "mkdir bin"] }
install = { info = "Move binary file", script = ["sudo cp bin/mkcss /usr/local/bin", "echo Copied binary!"], depends = ["build"] }