83 lines
1.5 KiB
Plaintext
83 lines
1.5 KiB
Plaintext
{
|
|
"build_systems": [
|
|
{
|
|
"cmd": [
|
|
"odin",
|
|
"build",
|
|
".",
|
|
"-debug",
|
|
"-o:none"
|
|
],
|
|
"name": "build comb",
|
|
"selector": "source.odin",
|
|
"working_dir": "${project_path}",
|
|
"file_regex": "^\\s*(\\S[^\\(]+)\\((\\d+):(\\d+)\\) (.*)"
|
|
},
|
|
{
|
|
"shell_cmd": "odin build . -debug -o:none && ./comb",
|
|
"name": "build and run",
|
|
"selector": "source.odin",
|
|
"working_dir": "${project_path}",
|
|
"file_regex": "^\\s*(\\S[^\\(]+)\\((\\d+):(\\d+)\\) (.*)"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"odin",
|
|
"run",
|
|
".",
|
|
"-debug",
|
|
"-o:none",
|
|
],
|
|
"name": "run comb",
|
|
"selector": "source.odin",
|
|
"working_dir": "${project_path}",
|
|
"file_regex": "^\\s*(\\S[^\\(]+)\\((\\d+):(\\d+)\\) (.*)"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"odin",
|
|
"test",
|
|
".",
|
|
"-debug",
|
|
"-o:none",
|
|
"-define:ODIN_TEST_GO_TO_ERROR=true"
|
|
],
|
|
"name": "test comb",
|
|
"selector": "source.odin",
|
|
"working_dir": "${project_path}",
|
|
"file_regex": "^\\s*(\\S[^\\(]+)\\((\\d+):(\\d+)\\):(.*)"
|
|
}
|
|
],
|
|
"folders": [
|
|
{
|
|
"path": ".",
|
|
"folder_exclude_patterns": [
|
|
"*bin*",
|
|
"*.dSYM"
|
|
],
|
|
"binary_file_patterns": [
|
|
"*.bin"
|
|
]
|
|
},
|
|
{
|
|
"path": "/opt/homebrew/Cellar/odin/2025-12a/libexec/core",
|
|
},
|
|
{
|
|
"path": "/opt/homebrew/Cellar/odin/2025-12a/libexec/base",
|
|
},
|
|
{
|
|
"path": "/opt/homebrew/Cellar/odin/2025-12a/libexec/vendor/raylib",
|
|
},
|
|
],
|
|
"debugger_configurations": [
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Launch",
|
|
"program": "${project_path}/comb",
|
|
"args": [],
|
|
"cwd": "${project_path}"
|
|
},
|
|
],
|
|
}
|