28 lines
760 B
Bash
Executable File
28 lines
760 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Fetch dependencies of Boulderthat are necessary for development or testing,
|
|
# and configure database and RabbitMQ.
|
|
#
|
|
|
|
go get \
|
|
golang.org/x/tools/cmd/vet \
|
|
golang.org/x/tools/cmd/cover \
|
|
github.com/golang/lint/golint \
|
|
github.com/tools/godep \
|
|
github.com/mattn/goveralls \
|
|
github.com/modocache/gover \
|
|
github.com/jcjones/github-pr-status \
|
|
github.com/jsha/listenbuddy &
|
|
|
|
(wget https://github.com/jsha/boulder-tools/raw/master/goose.gz &&
|
|
mkdir -p $GOPATH/bin &&
|
|
zcat goose.gz > $GOPATH/bin/goose &&
|
|
chmod +x $GOPATH/bin/goose &&
|
|
./test/create_db.sh) &
|
|
|
|
# Set up rabbitmq exchange and activity monitor queue
|
|
go run cmd/rabbitmq-setup/main.go -server amqp://localhost &
|
|
|
|
# Wait for all the background commands to finish.
|
|
wait
|