diff --git a/.ocamlformat-ignore b/.ocamlformat-ignore index f58b14a522..a5590ee7ab 100644 --- a/.ocamlformat-ignore +++ b/.ocamlformat-ignore @@ -1,4 +1,2 @@ -compiler/js_parser/** **/*.cppo.ml **/*.cppo.mli -compiler/syntax/compiler-libs-406/* diff --git a/.python-version b/.python-version deleted file mode 100644 index 2c0733315e..0000000000 --- a/.python-version +++ /dev/null @@ -1 +0,0 @@ -3.11 diff --git a/CHANGELOG.md b/CHANGELOG.md index d778209539..2335ba4dbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -69,6 +69,7 @@ - Refactor analysis CLI helpers to use source input. https://github.com/rescript-lang/rescript/pull/8466 - Include syntax, gentype, analysis, tools, and reanalyze tests in coverage reports. https://github.com/rescript-lang/rescript/pull/8467 - Remove the unreachable `Longident.Lapply` constructor (OCaml's applicative-functor path syntax `F(X).t`, which ReScript's grammar cannot produce). https://github.com/rescript-lang/rescript/pull/8469 +- Remove unused files. https://github.com/rescript-lang/rescript/pull/8481 # 13.0.0-alpha.4 diff --git a/tests/analysis_tests/tests/test b/tests/analysis_tests/tests/test deleted file mode 100755 index 993782b867..0000000000 --- a/tests/analysis_tests/tests/test +++ /dev/null @@ -1,30 +0,0 @@ -for file in src/*.{res,resi}; do - output="$(dirname $file)/expected/$(basename $file).txt" - ../../../_build/install/default/bin/rescript-editor-analysis test $file &> $output - # CI. We use LF, and the CI OCaml fork prints CRLF. Convert. - if [ "$RUNNER_OS" == "Windows" ]; then - perl -pi -e 's/\r\n/\n/g' -- $output - fi -done - -for file in not_compiled/*.{res,resi}; do - output="$(dirname $file)/expected/$(basename $file).txt" - ../../../_build/install/default/bin/rescript-editor-analysis test $file &> $output - # CI. We use LF, and the CI OCaml fork prints CRLF. Convert. - if [ "$RUNNER_OS" == "Windows" ]; then - perl -pi -e 's/\r\n/\n/g' -- $output - fi -done - -warningYellow='\033[0;33m' -successGreen='\033[0;32m' -reset='\033[0m' - -diff=$(git ls-files --modified src/expected not_compiled/expected) -if [[ $diff = "" ]]; then - printf "${successGreen}✅ No analysis_tests snapshot changes detected.${reset}\n" -else - printf "${warningYellow}⚠️ The analysis_tests snapshot doesn't match. Double check that the output is correct, run 'make test-analysis' and stage the diff.\n${diff}\n${reset}" - git --no-pager diff src/expected not_compiled/expected - exit 1 -fi