This commit is contained in:
병준 박 2025-04-26 00:16:16 +00:00
parent 3b45692ecc
commit 1c1aac9e45

View File

@ -77,7 +77,15 @@ spec:
for TARGET in "$@"; do for TARGET in "$@"; do
SRC=$(echo "$SOURCES" | cut -d' ' -f1) SRC=$(echo "$SOURCES" | cut -d' ' -f1)
SOURCES=$(echo "$SOURCES" | cut -s -d' ' -f2-) SOURCES=$(echo "$SOURCES" | cut -s -d' ' -f2-)
ls -al ${SRC}
cd "$SRC"
if [ ! -d .git ]; then
git init
git add .
git commit -m "init"
fi
cd -
echo "Importing: $SRC → $TARGET" echo "Importing: $SRC → $TARGET"
npx nx import "$SRC" "$TARGET" npx nx import "$SRC" "$TARGET"
echo "Updating version to $(params.version)" echo "Updating version to $(params.version)"