Some more troubleshooting
#!/bin/bash
set -e
+set -x
cd "$(dirname "$0")/.."
@@ -8,6 +9,7 @@ cd "$(dirname "$0")/.."
# Clone desktop/desktop and check out a known sha
repo=examples/desktop
+rm -rf "$repo"
if [ ! -d "$repo" ]; then
git clone https://github.com/desktop/desktop "$repo"
fi
@@ -16,6 +18,8 @@ pushd "$repo" && git pull
# git reset --hard d1324f56d02dd9afca5d2e9da545905a7d41d671
popd
+tree-sitter parse examples/*.ts -qt
+
# TODO: Fix known issues in known_failures.txt
known_failures=$(cat script/known_failures.txt)
examples_to_parse=$(
