rust-code-analysis/recreate-grammars.sh

14 строки
346 B
Bash
Исходник Обычный вид История

2021-03-30 15:50:11 +03:00
#!/bin/bash
# Clean old grammars builds
cargo clean --manifest-path ./enums/Cargo.toml
# Recreate all grammars
cargo run --manifest-path ./enums/Cargo.toml -- -lrust -o ./src/languages
2021-03-30 15:50:11 +03:00
# Recreate C macros
cargo run --manifest-path ./enums/Cargo.toml -- -lc_macros -o ./src/c_langs_macros
# Format the code of the recreated grammars
2021-03-30 15:50:11 +03:00
cargo fmt