From 8a207795188e3e457aafe7c35beea8bc22caa69c Mon Sep 17 00:00:00 2001 From: pinosu <95283998+pinosu@users.noreply.github.com> Date: Fri, 3 Mar 2023 11:20:57 +0100 Subject: [PATCH] Add Windows client support (#1197) * Add Windows client support * Separate server and windows client --------- Co-authored-by: Alex Peters --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d85996fbe9..f8ca98f549 100644 --- a/Makefile +++ b/Makefile @@ -80,11 +80,15 @@ all: install lint test build: go.sum ifeq ($(OS),Windows_NT) + $(error wasmd server not supported. Use "make build-windows-client" for client) exit 1 else go build -mod=readonly $(BUILD_FLAGS) -o build/wasmd ./cmd/wasmd endif +build-windows-client: go.sum + GOOS=windows GOARCH=amd64 go build -mod=readonly $(BUILD_FLAGS) -o build/wasmd-client.exe ./cmd/wasmd + build-contract-tests-hooks: ifeq ($(OS),Windows_NT) go build -mod=readonly $(BUILD_FLAGS) -o build/contract_tests.exe ./cmd/contract_tests @@ -193,4 +197,4 @@ proto-check-breaking: .PHONY: all install install-debug \ go-mod-cache draw-deps clean build format \ test test-all test-build test-cover test-unit test-race \ - test-sim-import-export \ + test-sim-import-export build-windows-client \