mirror of
https://github.com/ICKelin/opennotr.git
synced 2025-09-26 20:01:13 +08:00
13 lines
381 B
Bash
Executable File
13 lines
381 B
Bash
Executable File
#!/bin/sh
|
|
WORKSPACE=`pwd`
|
|
BIN=$WORKSPACE/bin/
|
|
|
|
cd $WORKSPACE/opennotr
|
|
GOOS=darwin go build -o $BIN/opennotr-client_darwin_amd64
|
|
GOOS=linux go build -o $BIN/opennotr-client_linux_amd64
|
|
GOARCH=arm GOOS=linux go build -o $BIN/opennotr-client_arm
|
|
GOARCH=arm64 GOOS=linux go build -o $BIN/opennotr-client_arm64
|
|
|
|
cd $WORKSPACE/opennotrd
|
|
GOOS=linux go build -o $BIN/opennotr-server_linux
|