Repos / gorts / a86c95d461
commit a86c95d461e9e0750b383df332fe515ff1252cf4
Author: Nhân <hi@imnhan.com>
Date: Thu Jun 22 09:57:53 2023 +0700
tweak make targets
diff --git a/Makefile b/Makefile
index 9bc32b6..4ec55b8 100644
--- a/Makefile
+++ b/Makefile
@@ -2,17 +2,17 @@ windows:
CGO_ENABLED=0 GOOS=windows \
go build -o dist/windows/gorts.exe -ldflags -H=windowsgui
rm -rf dist/windows/web
- cp -r web dist/windows/web
+ cp -r web dist/windows/
rm -rf dist/windows/tcl
- cp -r tcl dist/windows/tcl
+ cp -r tcl dist/windows/
cp players.sample.csv dist/windows/
linux:
CGO_ENABLED=0 GOOS=linux go build -o dist/linux/gorts
rm -rf dist/linux/web
- cp -r web dist/linux/web
+ cp -r web dist/linux/
rm -rf dist/linux/tcl
- cp -r tcl dist/linux/tcl
+ cp -r tcl dist/linux/
cp players.sample.csv dist/linux/
dist/GORTS-Windows.zip: windows