fix the build script.
parent
993f6e6e42
commit
1a31dc7399
22
build.sh
22
build.sh
|
@ -4,6 +4,17 @@ set -e
|
|||
|
||||
. ./exports.sh
|
||||
|
||||
go get code.google.com/p/goprotobuf/proto
|
||||
go get github.com/goraft/raft
|
||||
go get github.com/gorilla/mux
|
||||
go get github.com/jmhodges/levigo
|
||||
go get github.com/bmizerany/pat
|
||||
go get github.com/fitstar/falcore
|
||||
go get github.com/fitstar/falcore/filter
|
||||
go get code.google.com/p/log4go
|
||||
go get code.google.com/p/go.crypto/bcrypt
|
||||
go get launchpad.net/gocheck
|
||||
|
||||
# build snappy and leveldb
|
||||
if [ `uname` == "Linux" ]; then
|
||||
snappy_version=1.1.0
|
||||
|
@ -36,17 +47,6 @@ if [ `uname` == "Linux" ]; then
|
|||
popd
|
||||
fi
|
||||
|
||||
go get code.google.com/p/goprotobuf/proto
|
||||
go get github.com/goraft/raft
|
||||
go get github.com/gorilla/mux
|
||||
go get github.com/jmhodges/levigo
|
||||
go get github.com/bmizerany/pat
|
||||
go get github.com/fitstar/falcore
|
||||
go get github.com/fitstar/falcore/filter
|
||||
go get code.google.com/p/log4go
|
||||
go get code.google.com/p/go.crypto/bcrypt
|
||||
go get launchpad.net/gocheck
|
||||
|
||||
echo "packages: go build $packages"
|
||||
|
||||
./compile_protobuf.sh
|
||||
|
|
Loading…
Reference in New Issue