mirror of
https://github.com/cubixle/radius-rs.git
synced 2026-04-30 01:58:42 +01:00
Restructure
This commit is contained in:
@@ -14,13 +14,13 @@ for DICT in ${DICTS[@]}; do
|
||||
DICT_NAME="${DICT##*.}"
|
||||
DICT_FILE="${DICTS_DIR}/dictionary.${DICT_NAME}"
|
||||
if [ -f "$DICT_FILE" ]; then
|
||||
cat /dev/null > "${SRC_DIR}/${DICT_NAME}.rs"
|
||||
cat /dev/null > "${SRC_DIR}/core/${DICT_NAME}.rs"
|
||||
DICT_FILES+=("$DICT_FILE")
|
||||
fi
|
||||
done
|
||||
|
||||
# shellcheck disable=SC2068
|
||||
cargo run --bin code-generator -- --out-dir="${SRC_DIR}/" ${DICT_FILES[@]}
|
||||
cargo run --bin code-generator -- --out-dir="${SRC_DIR}/core/" ${DICT_FILES[@]}
|
||||
|
||||
cargo fix --allow-dirty --allow-staged
|
||||
cargo fmt
|
||||
|
||||
Reference in New Issue
Block a user