We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e4408d commit 01abf87Copy full SHA for 01abf87
recreate-grammars.sh
@@ -1,13 +1,10 @@
1
#!/bin/bash
2
3
-# Enter enums directory
4
-pushd enums
+# Clean old grammars builds
+cargo clean --manifest-path ./enums/Cargo.toml
5
6
# Recreate all grammars
7
-cargo clean && cargo run -- -lrust -o ../src/languages
8
-
9
-# Exit enums directory
10
-popd
+cargo run --manifest-path ./enums/Cargo.toml -- -lrust -o ./src/languages
11
12
# Format the code of the recreated grammars
13
cargo fmt
0 commit comments