You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+19-9Lines changed: 19 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,15 @@
24
24
# Branches reduce reproducibility - builds should fail fast with clear errors
25
25
# if dependencies are missing, not silently fall back to different behavior.
26
26
27
+
# Use PATH-resolved bash on Windows to avoid hardcoded /usr/bin/bash which doesn't
28
+
# exist in Chocolatey's make environment or on GitHub Actions windows-latest.
29
+
ifeq ($(OS),Windows_NT)
30
+
SHELL := bash
31
+
else
32
+
SHELL := /bin/bash
33
+
endif
34
+
.SHELLFLAGS := -eu -o pipefail -c
35
+
27
36
# Enable parallel execution by default (only if user didn't specify -j)
28
37
ifeq (,$(filter -j%,$(MAKEFLAGS)))
29
38
MAKEFLAGS += -j
@@ -92,8 +101,9 @@ help: ## Show this help message
92
101
93
102
## Development
94
103
dev: node_modules/.installed build-main ## Start development server (Vite + tsgo watcher for 10x faster type checking)
95
-
@bun x concurrently -k \
96
-
"bun x concurrently \"$(TSGO) -w -p tsconfig.main.json\"\"bun x tsc-alias -w -p tsconfig.main.json\""\
104
+
@npx concurrently -k --raw \
105
+
"$(TSGO) -w -p tsconfig.main.json"\
106
+
"bun x tsc-alias -w -p tsconfig.main.json"\
97
107
"vite"
98
108
99
109
dev-server: node_modules/.installed build-main ## Start server mode with hot reload (backend :3000 + frontend :5173). Use VITE_HOST=0.0.0.0 BACKEND_HOST=0.0.0.0 for remote access
@@ -102,10 +112,10 @@ dev-server: node_modules/.installed build-main ## Start server mode with hot rel
0 commit comments