forked from mystiq/dex
07236da1e7
go-sqlite3 takes a long time to compile, so it's very important to cache a build rather than re-compile every time. Use go install instead of go build in the build script to cache all packages. Print a warning in the test script if cached packages are not found.
10 lines
405 B
Bash
Executable file
10 lines
405 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
source ./env
|
|
|
|
go install -ldflags="$LD_FLAGS" github.com/coreos/dex/cmd/dex-worker
|
|
go install -ldflags="$LD_FLAGS" github.com/coreos/dex/cmd/dexctl
|
|
go install -ldflags="$LD_FLAGS" github.com/coreos/dex/cmd/dex-overlord
|
|
go build -o bin/example-app github.com/coreos/dex/examples/app
|
|
go build -o bin/example-cli github.com/coreos/dex/examples/cli
|
|
go install github.com/coreos/dex/cmd/gendoc
|