1
0

makefile 377 B

1234567891011121314
  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 &