mirror of
https://github.com/open-goal/jak-project
synced 2026-06-30 03:49:08 -04:00
cbe21e3b4b
I'm switching away from visual studio (because its broken) so figured I'd document / commit the minimum to get a working environment with the editor I chose (Zed). Also cleaned up the main README so it's not so verbose, link out to secondary pages, etc. I also deleted the Arch and Fedora dockerfiles, they were broken. The ubuntu one still works, so i left it.
112 lines
2.3 KiB
JSON
112 lines
2.3 KiB
JSON
// Project tasks configuration. See https://zed.dev/docs/tasks for documentation.
|
|
[
|
|
{
|
|
"label": "Generate CMake - Release",
|
|
"command": "task gen-cmake-release",
|
|
},
|
|
{
|
|
"label": "Generate CMake - Debug",
|
|
"command": "task gen-cmake-debug",
|
|
},
|
|
{
|
|
"label": "Build Project - Release",
|
|
"command": "task build-release",
|
|
},
|
|
{
|
|
"label": "Build Project - Debug",
|
|
"command": "task build-debug",
|
|
},
|
|
{
|
|
"label": "Build - goalc",
|
|
"command": "task build-debug",
|
|
"env": {
|
|
"CMAKE_BUILD_ADDITIONAL_ARGS": "--target goalc",
|
|
},
|
|
"cwd": "$ZED_WORKTREE_ROOT",
|
|
},
|
|
{
|
|
"label": "Build - goalc-test",
|
|
"command": "task build-debug",
|
|
"env": {
|
|
"CMAKE_BUILD_ADDITIONAL_ARGS": "--target goalc-test",
|
|
},
|
|
"cwd": "$ZED_WORKTREE_ROOT",
|
|
},
|
|
{
|
|
"label": "Build - gk",
|
|
"command": "task build-debug",
|
|
"env": {
|
|
"CMAKE_BUILD_ADDITIONAL_ARGS": "--target gk",
|
|
},
|
|
"cwd": "$ZED_WORKTREE_ROOT",
|
|
},
|
|
{
|
|
"label": "Tests - Unit - Brief",
|
|
"command": "task unit-tests",
|
|
"env": {
|
|
"TEST_FILTER": "--gtest_brief=0",
|
|
},
|
|
},
|
|
{
|
|
"label": "Tests - Unit - Verbose",
|
|
"command": "task unit-tests",
|
|
"env": {
|
|
"TEST_FILTER": "--gtest_brief=1",
|
|
},
|
|
},
|
|
{
|
|
"label": "Tests - Unit - Type Consistency",
|
|
"command": "task unit-tests",
|
|
"env": {
|
|
"TEST_FILTER": "--gtest_brief=0 --gtest_filter=\"*TypeConsistency*\"",
|
|
},
|
|
},
|
|
{
|
|
"label": "Tests - Unit - WithGameTests",
|
|
"command": "task unit-tests",
|
|
"env": {
|
|
"TEST_FILTER": "--gtest_brief=0 --gtest_filter=\"*WithGameTests*\"",
|
|
},
|
|
},
|
|
{
|
|
"label": "Tests - Offline Tests",
|
|
"command": "task offline-tests-fast",
|
|
},
|
|
{
|
|
"label": "Tests - Formatter",
|
|
"command": "task unit-tests",
|
|
"env": {
|
|
"TEST_FILTER": "--gtest_brief=0 --gtest_filter=\"*FormatterTests*\"",
|
|
},
|
|
},
|
|
{
|
|
"label": "Run - Game (Jak 1)",
|
|
"command": "task run-game",
|
|
"env": {
|
|
"GAME": "jak1",
|
|
},
|
|
},
|
|
{
|
|
"label": "Run - Game (Jak 2)",
|
|
"command": "task run-game",
|
|
"env": {
|
|
"GAME": "jak2",
|
|
},
|
|
},
|
|
{
|
|
"label": "Run - Game (Jak 3)",
|
|
"command": "task run-game",
|
|
"env": {
|
|
"GAME": "jak3",
|
|
},
|
|
},
|
|
{
|
|
"label": "Run - Decompiler",
|
|
"command": "task decomp",
|
|
},
|
|
{
|
|
"label": "Format",
|
|
"command": "task format",
|
|
},
|
|
]
|