Skip to content

Commit

Permalink
Make bacon in root work for parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Cypher1 committed Sep 29, 2024
1 parent 383eaf8 commit 60d3b33
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bacon.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 8 additions & 0 deletions tree-sitter-tako/bacon.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

[jobs.parser]
command = [ "tree-sitter", "test" ]
need_stdout = true
allow_warnings = true
watch = ["grammar.js", "tests"]


0 comments on commit 60d3b33

Please sign in to comment.