mirror of
https://github.com/sagiegurari/cargo-make
synced 2026-06-08 17:20:03 +00:00
20 lines
259 B
TOML
20 lines
259 B
TOML
|
|
[config]
|
|
skip_core_tasks = true
|
|
on_error_task = "catch"
|
|
|
|
[tasks.default]
|
|
dependencies = ["echo", "error"]
|
|
|
|
[tasks.echo]
|
|
command = "echo"
|
|
args = ["args:", "${@}"]
|
|
|
|
[tasks.error]
|
|
script = "exit 1"
|
|
|
|
[tasks.catch]
|
|
script = '''
|
|
echo "Doing cleanups in catch"
|
|
'''
|