diff --git a/setup-dartwing-project.sh b/setup-dartwing-project.sh index 2ee8efe..b0218e6 100755 --- a/setup-dartwing-project.sh +++ b/setup-dartwing-project.sh @@ -43,7 +43,7 @@ clone_or_update_repo() { local repo_name=$1 local repo_url=$2 local target_dir=$3 - local branch=${4:-$DEFAULT_BRANCH} + local branch=${4:-develop} if [ -d "$target_dir" ]; then if [ -d "$target_dir/.git" ]; then @@ -115,8 +115,7 @@ echo "" # Clone or update repositories clone_or_update_repo "Flutter App" "$APP_REPO" "app" "$BRANCH" clone_or_update_repo "Gatekeeper Service" "$GATEKEEPER_REPO" "gatekeeper" "$BRANCH" -clone_or_update_repo "Flutter Library" "$LIB_REPO" "lib" "$BRANCH" - +clone_or_update_repo "Flutter Library" "$LIB_REPO" "lib" echo "" print_status "All repositories cloned/updated successfully!" @@ -153,4 +152,4 @@ echo "2. Check the app/ directory for the Flutter application" echo "3. Check the gatekeeper/ directory for the backend service" echo "4. Check the lib/ directory for shared Flutter components" echo "" -echo "To update all components in the future, run this script again." \ No newline at end of file +echo "To update all components in the future, run this script again."