tree-sitter-bash/script/parse-examples.sh

9 lines
201 B
Bash
Raw Normal View History

#!/bin/bash
2019-12-10 20:39:14 +00:00
known_failures="$(cat script/known-failures.txt)"
2019-12-10 20:39:14 +00:00
tree-sitter parse -q -t \
examples/**/*.bash \
examples/**/*.sh \
$(for failure in $known_failures; do echo "!${failure}"; done)