Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tarepan committed Feb 4, 2024
1 parent 843bd76 commit 7d1faa9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build_util/create_venv_and_generate_licenses.bash
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else
fi

pip install -r requirements-license.txt
python build_util/generate_licenses.py >$OUTPUT_LICENSE_JSON_PATH
python build_util/generate_licenses.py > "${OUTPUT_LICENSE_JSON_PATH}"

deactivate

Expand Down
10 changes: 5 additions & 5 deletions build_util/process_voicevox_resource.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ if [ ! -v DOWNLOAD_RESOURCE_PATH ]; then
fi

rm -r speaker_info
cp -r $DOWNLOAD_RESOURCE_PATH/character_info speaker_info
cp -r "${DOWNLOAD_RESOURCE_PATH}/character_info" speaker_info

# キャラクター情報の前処理をする
python $DOWNLOAD_RESOURCE_PATH/scripts/clean_character_info.py \
python "${DOWNLOAD_RESOURCE_PATH}/scripts/clean_character_info.py" \
--character_info_dir speaker_info/

# マニフェスト
jq -s '.[0] * .[1]' engine_manifest.json $DOWNLOAD_RESOURCE_PATH/engine/engine_manifest.json \
jq -s '.[0] * .[1]' engine_manifest.json "${DOWNLOAD_RESOURCE_PATH}/engine/engine_manifest.json" \
> engine_manifest.json.tmp
mv engine_manifest.json.tmp engine_manifest.json

python build_util/merge_update_infos.py \
engine_manifest_assets/update_infos.json \
$DOWNLOAD_RESOURCE_PATH/engine/engine_manifest_assets/update_infos.json \
"${DOWNLOAD_RESOURCE_PATH}/engine/engine_manifest_assets/update_infos.json" \
engine_manifest_assets/update_infos.json

for f in $(ls $DOWNLOAD_RESOURCE_PATH/engine/engine_manifest_assets/* | grep -v update_infos.json); do
cp $f ./engine_manifest_assets/
cp "${f}" ./engine_manifest_assets/
done

0 comments on commit 7d1faa9

Please sign in to comment.