You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
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 &