diff --git a/bacon.toml b/bacon.toml index de42f3d6..7ebfa909 100644 --- a/bacon.toml +++ b/bacon.toml @@ -56,9 +56,10 @@ need_stdout = true allow_warnings = true [jobs.parser] -command = [ "treesitter", "test" ] +command = [ "sh", "-c", "cd ./tree-sitter-tako/ && tree-sitter 'test'" ] need_stdout = true allow_warnings = true +watch = ["./tree-sitter-tako/grammar.js", "./tree-sitter-tako/tests"] # You may define here keybindings that would be specific to # a project, for example a shortcut to launch a specific job. diff --git a/tree-sitter-tako/bacon.toml b/tree-sitter-tako/bacon.toml new file mode 100644 index 00000000..7150f2b8 --- /dev/null +++ b/tree-sitter-tako/bacon.toml @@ -0,0 +1,8 @@ + +[jobs.parser] +command = [ "tree-sitter", "test" ] +need_stdout = true +allow_warnings = true +watch = ["grammar.js", "tests"] + +