mirror of
https://github.com/sagiegurari/duckscript
synced 2024-09-06 00:34:07 +00:00
38 lines
528 B
TOML
38 lines
528 B
TOML
|
|
[config]
|
|
additional_profiles = [
|
|
"multi-phase-tests",
|
|
"ci-coverage-tasks",
|
|
"ci-all-build-tasks",
|
|
"publish-pre-cleanup"
|
|
]
|
|
|
|
[tasks.clean-target]
|
|
condition = { files_exist = ["./target"] }
|
|
script = [
|
|
'''
|
|
#!@duckscript
|
|
rm -Rf ./target
|
|
'''
|
|
]
|
|
|
|
[tasks.test-multi-phases-flow]
|
|
dependencies = [
|
|
"clean-target"
|
|
]
|
|
|
|
[tasks.test-custom]
|
|
alias = "test-scripts"
|
|
|
|
[tasks.test-scripts]
|
|
cwd = ".."
|
|
command = "cargo"
|
|
args = [
|
|
"make",
|
|
"--no-workspace",
|
|
"test-scripts"
|
|
]
|
|
|
|
[tasks.pre-coverage]
|
|
alias = "clean-target"
|