From a892bd940e1faccccf47dc52efdb1984758a33a8 Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Tue, 30 Mar 2021 14:50:11 +0200 Subject: [PATCH] Update script to recreate grammars --- recreate-grammars.sh | 9 +++++++++ update-language-bindings.sh | 10 ---------- 2 files changed, 9 insertions(+), 10 deletions(-) create mode 100755 recreate-grammars.sh delete mode 100755 update-language-bindings.sh diff --git a/recreate-grammars.sh b/recreate-grammars.sh new file mode 100755 index 0000000..b6b8a0a --- /dev/null +++ b/recreate-grammars.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Recreate all grammars +pushd enums +cargo clean && cargo run -- -lrust -o ../src/languages +popd + +# Format the code +cargo fmt diff --git a/update-language-bindings.sh b/update-language-bindings.sh deleted file mode 100755 index 3a6a006..0000000 --- a/update-language-bindings.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# Recreate the language -pushd enums -cargo clean -cargo run -- -lrust -o ../src/languages -popd - -# Format the code -cargo fmt