This commit is contained in:
@@ -32,6 +32,9 @@ yarn build
|
|||||||
TARGET="$REPO"
|
TARGET="$REPO"
|
||||||
if [[ -n "$SUBDIR" ]]; then
|
if [[ -n "$SUBDIR" ]]; then
|
||||||
TARGET="$REPO/$SUBDIR"
|
TARGET="$REPO/$SUBDIR"
|
||||||
|
if [[ ! -d "$TARGET" ]]; then
|
||||||
|
echo "ERROR: subdir tidak ada: $TARGET"; exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
cd "$TARGET"
|
cd "$TARGET"
|
||||||
echo "--- clasp push ($TARGET, profil $PROFILE) ---"
|
echo "--- clasp push ($TARGET, profil $PROFILE) ---"
|
||||||
|
|||||||
Reference in New Issue
Block a user