Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Jan 23, 2024
1 parent 8667c24 commit 6b66fac
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,21 @@ test-parse-highlight:
set -eaux

# skip readme.just because it is broken but works for testing
# FIXME: also skip test.just because it is currently broken
find {{justfile_directory()}} -type f -iregex '.*[\./]just[^\./]*' |
grep -v readme.just |
grep -v test.just |
while read -r fname
do
printf '\n\n\n'
echo "::group::Parse and highlight testing for $fname"
echo "::notice:: checking parsing of $fname"
npx tree-sitter parse "$fname"
npx tree-sitter parse "$fname" > "$fname.parse.out"
echo "::notice:: checking highlight of $fname"
npx tree-sitter highlight "$fname"
npx tree-sitter highlight "$fname" > "$fname.highlight.out"
echo "::endgroup::"
done

# Run all test options
test: test-ts test-parse-highlight

# Check C files with more strict arguments
check-c:
#!/bin/sh
Expand Down

0 comments on commit 6b66fac

Please sign in to comment.