File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -97,3 +97,38 @@ reset-nx: clean-nx clean-dist-nx install-nx
9797# Reset turborepo directory
9898reset-turborepo : clean-turborepo clean-dist-turborepo install-turborepo
9999 @ echo " ✓ Turborepo reset complete"
100+
101+ # Build all examples in every environment
102+ build-all :
103+ #!/usr/bin/env bash
104+ set -euo pipefail
105+
106+ echo " Building all vanilla examples..."
107+ cd vanilla/ examples
108+ for d in */ ; do
109+ [ -d " $d" ] || continue
110+ echo " → Building $d"
111+ (cd " $d" && pnpm build)
112+ done
113+ cd ../ ..
114+
115+ echo " Building all nx examples..."
116+ cd nx/ examples
117+ for d in */ ; do
118+ [ -d " $d" ] || continue
119+ echo " → Building $d"
120+ (cd " $d" && pnpm build)
121+ done
122+ cd ../ ..
123+
124+ echo " Building all turborepo examples..."
125+ cd turborepo/ examples
126+ for d in */ ; do
127+ [ -d " $d" ] || continue
128+ echo " → Building $d"
129+ (cd " $d" && pnpm build)
130+ done
131+ cd ../ ..
132+
133+ echo " ✓ All examples built successfully"
134+
You can’t perform that action at this time.
0 commit comments