Skip to content

Commit 014222d

Browse files
committed
Added deploy script
1 parent fc6da77 commit 014222d

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@
1313

1414
# Dependency directories (remove the comment below to include it)
1515
# vendor/
16+
17+
dist/

build-releases.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
APP="simple-tee-proxy"
4+
SOURCE="cmd/$APP.go"
5+
6+
GOOS=linux GOARCH=arm go build -o "dist/$APP-linux-arm" "$SOURCE"
7+
GOOS=linux GOARCH=amd64 go build -o "dist/$APP-linux-amd64" "$SOURCE"
8+
GOOS=freebsd GOARCH=amd64 go build -o "dist/$APP-freebsd-amd64" "$SOURCE"
9+
GOOS=windows GOARCH=amd64 go build -o "dist/$APP-windows-amd64.exe" "$SOURCE"

0 commit comments

Comments
 (0)