mirror of
https://github.com/cubixle/radius-rs.git
synced 2026-04-30 17:58:40 +01:00
Fix helper script to generate code
This commit is contained in:
@@ -12,6 +12,11 @@ DICTS=$(ls "$DICTS_DIR")
|
|||||||
for DICT in ${DICTS[@]}; do
|
for DICT in ${DICTS[@]}; do
|
||||||
DICT_NAME="${DICT##*.}"
|
DICT_NAME="${DICT##*.}"
|
||||||
cat /dev/null > "${SRC_DIR}/${DICT_NAME}.rs"
|
cat /dev/null > "${SRC_DIR}/${DICT_NAME}.rs"
|
||||||
|
done
|
||||||
|
|
||||||
|
# shellcheck disable=SC2068
|
||||||
|
for DICT in ${DICTS[@]}; do
|
||||||
|
DICT_NAME="${DICT##*.}"
|
||||||
cargo run --bin code_gen "${DICTS_DIR}/dictionary.${DICT_NAME}" "${SRC_DIR}/${DICT_NAME}.rs"
|
cargo run --bin code_gen "${DICTS_DIR}/dictionary.${DICT_NAME}" "${SRC_DIR}/${DICT_NAME}.rs"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user