summaryrefslogtreecommitdiff
path: root/.zed/tasks.json
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-13 14:14:13 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-13 14:14:13 +0300
commite185a9d719d469a0fd7edcf09a6342f7b10cbb8e (patch)
tree81113fb4e0564d17cb2b271f13a0ae1ed14feae4 /.zed/tasks.json
parentc059e3aa7f93da470f052a5cd8ee0d8dc969e679 (diff)
Add Zed debugger integration and setup guide
Diffstat (limited to '.zed/tasks.json')
-rw-r--r--.zed/tasks.json68
1 files changed, 68 insertions, 0 deletions
diff --git a/.zed/tasks.json b/.zed/tasks.json
new file mode 100644
index 0000000..6df4810
--- /dev/null
+++ b/.zed/tasks.json
@@ -0,0 +1,68 @@
+[
+ {
+ "label": "YASL: configure debug build",
+ "command": "meson",
+ "args": ["setup", "build", "--backend=ninja", "--buildtype=debug"],
+ "cwd": "$ZED_WORKTREE_ROOT"
+ },
+ {
+ "label": "YASL: reconfigure",
+ "command": "meson",
+ "args": ["setup", "--reconfigure", "build"],
+ "cwd": "$ZED_WORKTREE_ROOT"
+ },
+ {
+ "label": "YASL: build",
+ "command": "meson",
+ "args": ["compile", "-C", "build"],
+ "cwd": "$ZED_WORKTREE_ROOT"
+ },
+ {
+ "label": "YASL: build for debugger",
+ "command": "meson setup --reconfigure build --backend=ninja -Dbuildtype=debug -Ddebug=true -Doptimization=0 -Db_lto=false && meson compile -C build",
+ "cwd": "$ZED_WORKTREE_ROOT",
+ "shell": { "program": "sh" }
+ },
+ {
+ "label": "YASL: test",
+ "command": "meson",
+ "args": ["test", "-C", "build", "--print-errorlogs"],
+ "cwd": "$ZED_WORKTREE_ROOT"
+ },
+ {
+ "label": "YASL: benchmark",
+ "command": "meson",
+ "args": ["test", "-C", "build", "--benchmark", "--verbose"],
+ "cwd": "$ZED_WORKTREE_ROOT"
+ },
+ {
+ "label": "YASL: run hello",
+ "command": "meson compile -C build yasl-hello && exec ./build/yasl-hello",
+ "cwd": "$ZED_WORKTREE_ROOT",
+ "shell": { "program": "sh" }
+ },
+ {
+ "label": "YASL: run simple window",
+ "command": "meson compile -C build yasl-example && exec ./build/yasl-example",
+ "cwd": "$ZED_WORKTREE_ROOT",
+ "shell": { "program": "sh" }
+ },
+ {
+ "label": "YASL: run tablet",
+ "command": "meson compile -C build yasl-tablet && exec ./build/yasl-tablet",
+ "cwd": "$ZED_WORKTREE_ROOT",
+ "shell": { "program": "sh" }
+ },
+ {
+ "label": "YASL: run notepad",
+ "command": "meson compile -C build yasl-notepad && exec ./build/yasl-notepad",
+ "cwd": "$ZED_WORKTREE_ROOT",
+ "shell": { "program": "sh" }
+ },
+ {
+ "label": "YASL: run game",
+ "command": "meson compile -C build yasl-game && exec ./build/yasl-game",
+ "cwd": "$ZED_WORKTREE_ROOT",
+ "shell": { "program": "sh" }
+ }
+]