mirror of
https://github.com/sagiegurari/duckscript
synced 2024-10-14 11:53:05 +00:00
30 lines
497 B
TOML
30 lines
497 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"
|