File: build

package info (click to toggle)
golang-github-appc-goaci 0.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 176 kB
  • sloc: sh: 12; makefile: 4
file content (20 lines) | stat: -rwxr-xr-x 394 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash -eu

ORG_PATH="github.com/appc"
REPO_PATH="${ORG_PATH}/goaci"

if [ ! -h gopath/src/${REPO_PATH} ]; then
	mkdir -p gopath/src/${ORG_PATH}
	ln -s ../../../.. gopath/src/${REPO_PATH} || exit 255
fi

export GOBIN=${PWD}/bin
export GOPATH=${PWD}/gopath

eval $(go env)

# TODO(jonboulle): vendor
go get github.com/appc/spec/...
go get golang.org/x/tools/go/vcs

go install ${REPO_PATH}