29 lines
657 B
TOML
29 lines
657 B
TOML
# The run config is used for both run mode and debug mode
|
|
|
|
[[configs]]
|
|
# the name of this task
|
|
name = "Example 'simple_scene'"
|
|
|
|
# the type of the debugger. If not set, it can't be debugged but can still be run
|
|
type = "lldb"
|
|
|
|
# the program to run
|
|
program = "../../target/debug/simple_scene"
|
|
|
|
# the program arguments, e.g. args = ["arg1", "arg2"], optional
|
|
# args = []
|
|
|
|
# current working directory, optional
|
|
cwd = "${workspace}/examples/simple_scene"
|
|
|
|
# environment variables, optional
|
|
# [configs.env]
|
|
# VAR1 = "VAL1"
|
|
# VAR2 = "VAL2"
|
|
|
|
# task to run before the run/debug session is started, optional
|
|
[configs.prelaunch]
|
|
program = "cargo"
|
|
args = [
|
|
"build",
|
|
]
|