init
This commit is contained in:
parent
3b45692ecc
commit
1c1aac9e45
@ -77,7 +77,15 @@ spec:
|
||||
for TARGET in "$@"; do
|
||||
SRC=$(echo "$SOURCES" | cut -d' ' -f1)
|
||||
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"
|
||||
npx nx import "$SRC" "$TARGET"
|
||||
echo "Updating version to $(params.version)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user