Clarify the script to recreate the grammars

This commit is contained in:
Luni-4 2021-03-30 23:41:13 +02:00
Родитель acabe8914a
Коммит e22301b949
1 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -1,9 +1,13 @@
#!/bin/bash
# Recreate all grammars
# Enter enums directory
pushd enums
# Recreate all grammars
cargo clean && cargo run -- -lrust -o ../src/languages
# Exit enums directory
popd
# Format the code
# Format the code of the recreated grammars
cargo fmt