Skip to content
Snippets Groups Projects
build.sh 848 B
Newer Older
#!/bin/bash

# This intended for manually running the integration tests on your own machine
# and assumes that you've cloned the Go repos to your GOPATH and updated them
# with Glide.

mkdir -p bin

build() {
    #go generate cmd/version.go
    go build
}

Spencer Brown's avatar
Spencer Brown committed
pushd $GOPATH/src/gitlab.com/elixxir/client
Spencer Brown's avatar
Spencer Brown committed
mv $GOPATH/src/gitlab.com/elixxir/client/client bin
Spencer Brown's avatar
Spencer Brown committed
pushd $GOPATH/src/gitlab.com/elixxir/server
Spencer Brown's avatar
Spencer Brown committed
mv $GOPATH/src/gitlab.com/elixxir/server/server bin
Spencer Brown's avatar
Spencer Brown committed
pushd $GOPATH/src/gitlab.com/elixxir/channelbot
Spencer Brown's avatar
Spencer Brown committed
mv $GOPATH/src/gitlab.com/elixxir/channelbot/channelbot bin
Spencer Brown's avatar
Spencer Brown committed
UDBPATH=gitlab.com/elixxir/user-discovery-bot
pushd $GOPATH/src/$UDBPATH
#go generate cmd/version.go
popd
go build -o udb $UDBPATH
mv ./udb bin

Spencer Brown's avatar
Spencer Brown committed
pushd $GOPATH/src/gitlab.com/elixxir/gateway
Spencer Brown's avatar
Spencer Brown committed
mv $GOPATH/src/gitlab.com/elixxir/gateway/gateway bin