#!/bin/bash
set -xe

GOOS=linux GOARCH=amd64 go build -tags clientcert -o /data/ezshare-client-linux-amd64 cmd/ezshare.go
GOOS=windows GOARCH=amd64 go build -tags clientcert -o /data/ezshare-client-windows-amd64 cmd/ezshare.go
GOOS=darwin GOARCH=amd64 go build -tags clientcert -o /data/ezshare-client-darwin-amd64 cmd/ezshare.go