您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

15 行
377 B

  1. FRONTEND_DIR = ./web
  2. BACKEND_DIR = .
  3. .PHONY: all build-frontend start-backend
  4. all: build-frontend start-backend
  5. build-frontend:
  6. @echo "Building frontend..."
  7. @cd $(FRONTEND_DIR) && bun install && DISABLE_ESLINT_PLUGIN='true' VITE_REACT_APP_VERSION=$(cat VERSION) bun run build
  8. start-backend:
  9. @echo "Starting backend dev server..."
  10. @cd $(BACKEND_DIR) && go run main.go &