Sha256: a20f3391e7471b4bdca71eadfd138040c5c818b981848551384e54f47fdf61d6

Contents?: true

Size: 1.01 KB

Versions: 23

Compression:

Stored size: 1.01 KB

Contents

#!/bin/bash

set -e

export GOPATH=$(pwd):$GOPATH

go get github.com/garyburd/redigo/redis
go get github.com/go-martini/martini
go get gopkg.in/alecthomas/kingpin.v1
go get github.com/oguzbilgic/pandik
mv bin/pandik libexec/httpchecker

go test flapjack

go build -x -o libexec/httpbroker libexec/httpbroker.go
go build -x -o libexec/oneoff libexec/oneoff.go

if [ ! -z "$CROSSCOMPILE" ]; then
  for command in httpbroker oneoff; do
    GOOS=linux GOARCH=amd64 CGOENABLED=0 go build -x -o libexec/$command.linux_amd64 libexec/$command.go
    GOOS=linux GOARCH=386 CGOENABLED=0 go build -x -o libexec/$command.linux_386 libexec/$command.go
  done

  pushd src/github.com/oguzbilgic/pandik
  GOOS=linux GOARCH=amd64 CGOENABLED=0 go build -x -o httpchecker.linux_amd64
  GOOS=linux GOARCH=386 CGOENABLED=0 go build -x -o httpchecker.linux_386
  popd
  mv src/github.com/oguzbilgic/pandik/httpchecker.linux_amd64 libexec/httpchecker.linux_amd64
  mv src/github.com/oguzbilgic/pandik/httpchecker.linux_386 libexec/httpchecker.linux_386
fi


Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
flapjack-1.6.0 build.sh
flapjack-1.6.0rc4 build.sh
flapjack-1.6.0rc3 build.sh
flapjack-1.6.0rc2 build.sh
flapjack-1.6.0rc1 build.sh
flapjack-1.5.0 build.sh
flapjack-1.5.0rc1 build.sh
flapjack-1.4.0 build.sh
flapjack-1.4.0rc1 build.sh
flapjack-1.3.0 build.sh
flapjack-1.3.0rc3 build.sh
flapjack-1.3.0rc2 build.sh
flapjack-1.3.0rc1 build.sh
flapjack-1.2.2 build.sh
flapjack-1.2.1 build.sh
flapjack-1.2.1rc3 build.sh
flapjack-1.2.1rc2 build.sh
flapjack-1.2.1rc1 build.sh
flapjack-1.2.0 build.sh
flapjack-1.2.0rc2 build.sh