GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: updated stainless script · kennyg/opencode@4e3c73c

This repository was archived by the owner on Jul 27, 2025. It is now read-only.

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • scripts
    • stainless
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎scripts/stainless‎

Copy file name to clipboardExpand all lines: scripts/stainless
+16-2Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
set -e
44

5+
# Parse command line arguments
6+
DEV_MODE=false
7+
for arg in "$@"; do
8+
if [ "$arg" = "--dev" ]; then
9+
DEV_MODE=true
10+
fi
11+
done
12+
513
echo "Starting opencode server on port 4096..."
614
bun run ./packages/opencode/src/index.ts serve --port 4096 &
715
SERVER_PID=$!
@@ -23,7 +31,13 @@ rm -rf packages/tui/sdk
2331
mv opencode-go/ packages/tui/sdk/
2432
rm -rf packages/tui/sdk/.git
2533

26-
echo "Kicking off production build..."
27-
stl builds create --branch main --wait false
34+
# Only run production build if not in dev mode
35+
if [ "$DEV_MODE" = false ]; then
36+
echo "Kicking off production build..."
37+
stl builds create --branch main --wait=false
38+
else
39+
echo "Skipping production build (--dev flag detected)"
40+
fi
2841

2942
echo "Done!"
43+

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.