mirror of
https://github.com/cubixle/radius-rs.git
synced 2026-04-30 02:28:39 +01:00
Separate the code generator to dedicated project
This commit is contained in:
@@ -17,7 +17,7 @@ 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"
|
||||
(cd "${REPO_ROOT}/code_generator"; cargo run "${DICTS_DIR}/dictionary.${DICT_NAME}" "${SRC_DIR}/${DICT_NAME}.rs")
|
||||
done
|
||||
|
||||
cargo fix --allow-dirty --allow-staged
|
||||
|
||||
Reference in New Issue
Block a user