Update scripts/new-dotnet-api-app.sh
This commit is contained in:
@@ -12,6 +12,7 @@ if [ -z "$APP_ID" ]; then
|
||||
fi
|
||||
|
||||
APP_DIR="$WORKSPACE_DIR/$APP_ID"
|
||||
TOOLS_DIR="$WORKSPACE_DIR/appfactory-tools"
|
||||
PROJECT_NAME="$(python3 - "$APP_ID" <<'PY'
|
||||
import re, sys
|
||||
parts = re.split(r'[^a-zA-Z0-9]+', sys.argv[1])
|
||||
@@ -100,6 +101,8 @@ cat > README.md <<EOF_MD
|
||||
- GET /health
|
||||
EOF_MD
|
||||
|
||||
cp "$TOOLS_DIR/AGENTS.md" "$TARGET_DIR/AGENTS.md"
|
||||
|
||||
git init
|
||||
git config user.name "AppFactory Bot"
|
||||
git config user.email "appfactory@local"
|
||||
|
||||
Reference in New Issue
Block a user