From 45eefea63613422233139851255d78bd34540a55 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 16 Mar 2019 11:47:53 +0800 Subject: [PATCH] feat: support windows build --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 6b9303d..3c71951 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -30,7 +30,7 @@ build_script: $version = $env:APPVEYOR_REPO_TAG_NAME $buildDate = $env:APPVEYOR_REPO_COMMIT_TIMESTAMP } - go build -ldflags "-X github.com/go-ggz/ggz/version.Version=$version -X github.com/go-ggz/ggz/version.BuildDate=$buildDate" -a -o release/ggz-server.exe . + go build -a -o release/gorush.exe . docker pull microsoft/nanoserver:10.0.14393.1884 docker build -f docker/Dockerfile.windows.amd64 -t appleboy/gorush:windows-amd64 .