Newer
Older
# import tasks and enviroment from other files
import = ["scripts/build.toml", "scripts/test.toml"]
address = { host = "100.79.107.11", port = 3500, ssl = false }
token = "test_token"
# global enviroment
[env]
BOOL = false
STRING = 'test'
TYPE = '%{dir.home} %{env.STRING} %{arg.1}'
ARR = ['hello', 'world']
"mv target/release/maid_server bin/maid_server",
"mv target/release/exit_test bin/exit_test"
]
target = [
"bin/maid",
"bin/exit_test",
"bin/maid_server"
]
silent = true
exclusive = false
shell = "/bin/bash"
image = "rust:1.73"
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 = ["sudo cp bin/maid /usr/local/bin", "echo Copied binary!"], depends = ["build"] }