sum7/warehost
sum7
/
warehost
Archived
1
0
Fork 0
This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
warehost/build.sh

29 lines
939 B
Bash
Raw Normal View History

2016-10-11 20:20:12 +02:00
#!/bin/bash
P=$PWD;
cd $GOPATH/src/dev.sum7.eu/sum7/warehost/cmd/warehost;
2016-10-17 11:54:35 +02:00
go install -tags all;
2016-12-13 16:18:25 +01:00
2016-10-11 20:20:12 +02:00
cd $GOPATH/src/dev.sum7.eu/sum7/warehost/cmd/warehost-web;
go install;
2016-12-13 16:18:25 +01:00
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;
2016-10-11 20:20:12 +02:00
cd $P;