summaryrefslogtreecommitdiff
path: root/.zed/tasks.json
blob: 6df48105198274347bac140ed4d768a37b867071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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" }
  }
]