42 lines
783 B
TOML
42 lines
783 B
TOML
|
[tasks.build-verbose]
|
||
|
command = "cargo"
|
||
|
args = ["build", "--verbose"]
|
||
|
condition_script = [
|
||
|
'''
|
||
|
if [ "$CARGO_MAKE_RUST_CHANNEL" = "nightly" ]; then
|
||
|
exit 0
|
||
|
else
|
||
|
exit 1
|
||
|
fi
|
||
|
'''
|
||
|
]
|
||
|
|
||
|
[tasks.build-verbose.windows]
|
||
|
command = "cargo"
|
||
|
args = ["build", "--verbose"]
|
||
|
condition_script = [
|
||
|
'''IF "%CARGO_MAKE_RUST_CHANNEL%"=="nightly" (exit 0) ELSE (exit 1)'''
|
||
|
]
|
||
|
|
||
|
[tasks.test-verbose]
|
||
|
command = "cargo"
|
||
|
args = ["test", "--verbose"]
|
||
|
dependencies = ["build-verbose"]
|
||
|
condition_script = [
|
||
|
'''
|
||
|
if [ "$CARGO_MAKE_RUST_CHANNEL" = "nightly" ]; then
|
||
|
exit 0
|
||
|
else
|
||
|
exit 1
|
||
|
fi
|
||
|
'''
|
||
|
]
|
||
|
|
||
|
[tasks.test-verbose.windows]
|
||
|
command = "cargo"
|
||
|
args = ["test", "--verbose"]
|
||
|
dependencies = ["build-verbose"]
|
||
|
condition_script = [
|
||
|
'''IF "%CARGO_MAKE_RUST_CHANNEL%"=="nightly" (exit 0) ELSE (exit 1)'''
|
||
|
]
|