Przeglądaj źródła

fix: make run on Windows (#665)

* fix: make run on Windows

* Update Makefile

Co-authored-by: Graham Neubig <neubig@gmail.com>

---------

Co-authored-by: Graham Neubig <neubig@gmail.com>
xcodebuild 1 rok temu
rodzic
commit
3adcb7ea56
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      Makefile

+ 4 - 0
Makefile

@@ -33,6 +33,10 @@ start-frontend:
 # Run the app
 run:
 	@echo "Running the app..."
+	@if [ "$(OS)" == "Windows_NT" ]; then \
+		echo "`make run` is not supported on Windows. Please run `make start-frontend` and `make start-backend` separately."; \
+		exit 1; \
+	fi
 	@mkdir -p logs
 	@rm -f logs/pipe
 	@mkfifo logs/pipe