mirror of
https://example.com
synced 2024-11-24 13:26:38 +09:00
dev (minor): refactor patch.sh
This commit is contained in:
parent
8d20ccac0a
commit
f1b768a8df
1 changed files with 6 additions and 4 deletions
|
@ -8,7 +8,9 @@ set -eu
|
||||||
[ ! -f neko/flags/add_volume_to_docker_compose ] || mv neko/flags/add_volume_to_docker_compose neko/flags/20240102_add_volume_to_docker_compose
|
[ ! -f neko/flags/add_volume_to_docker_compose ] || mv neko/flags/add_volume_to_docker_compose neko/flags/20240102_add_volume_to_docker_compose
|
||||||
|
|
||||||
# remove native-utils
|
# remove native-utils
|
||||||
rm -rf packages/backend/native-utils/built
|
if [ -d packages/backend/native-utils ]; then
|
||||||
rm -rf packages/backend/native-utils/node_modules
|
rm --recursive --force packages/backend/native-utils/built
|
||||||
rm -rf packages/backend/native-utils/target
|
rm --recursive --force packages/backend/native-utils/node_modules
|
||||||
rmdir packages/backend/native-utils || :
|
rm --recursive --force packages/backend/native-utils/target
|
||||||
|
rmdir packages/backend/native-utils || :
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue