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