Tidy up the toolchain

Signed-off-by: moznion <moznion@mail.moznion.net>
This commit is contained in:
moznion
2021-02-04 00:24:01 +09:00
parent 6ccd711f06
commit 8f94d2bd39
2 changed files with 6 additions and 3 deletions

View File

@@ -11,3 +11,9 @@ lint:
gen: gen:
bash ./scripts/generate-code.sh bash ./scripts/generate-code.sh
$(MAKE) fix
fix:
cargo fix --allow-dirty --allow-staged
cargo fmt

View File

@@ -22,6 +22,3 @@ done
# shellcheck disable=SC2068 # shellcheck disable=SC2068
cargo run --bin code-generator -- --out-dir="${SRC_DIR}/core/" ${DICT_FILES[@]} cargo run --bin code-generator -- --out-dir="${SRC_DIR}/core/" ${DICT_FILES[@]}
cargo fix --allow-dirty --allow-staged
cargo fmt