sum7/warehost
sum7
/
warehost
Archived
1
0
Fork 0

add ./build.sh

This commit is contained in:
Martin Geno 2016-12-13 16:18:25 +01:00
parent 23df4767da
commit d8815c8316
1 changed files with 18 additions and 0 deletions

View File

@ -4,7 +4,25 @@ P=$PWD;
cd $GOPATH/src/dev.sum7.eu/sum7/warehost/cmd/warehost; cd $GOPATH/src/dev.sum7.eu/sum7/warehost/cmd/warehost;
go install -tags all; go install -tags all;
cd $GOPATH/src/dev.sum7.eu/sum7/warehost/cmd/warehost-web; cd $GOPATH/src/dev.sum7.eu/sum7/warehost/cmd/warehost-web;
go install; go install;
cd $GOPATH/src/dev.sum7.eu/sum7/warehost/cmd/warehost-host;
go install;
cd $GOPATH/src/dev.sum7.eu/sum7/warehost/cmd/warehost-ftp;
go install;
cd $GOPATH/src/dev.sum7.eu/sum7/warehost/cmd/warehost-auth;
go install;
SERVER="apus.h.sum7.eu";
scp $GOPATH/bin/warehost $SERVER:/srv/http/domain/warehost.sum7.eu/downloads/current/warehost-api;
scp $GOPATH/bin/warehost-web $SERVER:/srv/http/domain/warehost.sum7.eu/downloads/current/warehost-web;
scp $GOPATH/bin/warehost-host $SERVER:/srv/http/domain/warehost.sum7.eu/downloads/current/warehost-host;
scp $GOPATH/bin/warehost-ftp $SERVER:/srv/http/domain/warehost.sum7.eu/downloads/current/warehost-ftp;
scp $GOPATH/bin/warehost-auth $SERVER:/srv/http/domain/warehost.sum7.eu/downloads/current/warehost-auth;
cd $P; cd $P;