Newer
Older
"build/scripts/build.toml",
"build/scripts/test.toml",
"build/scripts/publish.toml"
address = { host = "localhost", port = 3500, ssl = false }
[env]
BOOL = false
STRING = 'test'
TYPE = '%{dir.home} %{env.STRING} %{arg.1}'
ARR = ['hello', 'world']
"mv target/release/maid-server bin/maid-server",
path = "maid"
target = ["bin/maid", "bin/maid-server"]
# [tasks.build.remote]
# silent = false
# exclusive = false
# shell = "/bin/bash"
# image = "messense/cargo-zigbuild:latest"
# push = ["crates", "Cargo.toml", "Cargo.lock"]
# pull = "bin"
api_server = { depends = ["build"], script = "./maid_server", path = "bin" }
clean = { info = "Clean binary files", script = ["rm -rf bin", "mkdir bin"] }
install = { info = "Move binary file", script = ["maid build -q","sudo cp bin/maid /usr/local/bin", "maid -V"] }