#! /bin/bash

export GOPATH=$(cd "$(dirname "$0")"; pwd)
export GIT_DIR=$GOPATH/../.git

ldflags="-X koding/tools/lifecycle.version $(git rev-parse HEAD)"
services=(
	koding/broker
	koding/kites/os
	koding/kites/irc
	koding/virt/idshift
	koding/virt/ldapserver
	koding/virt/proxy
	koding/virt/vmtool
	koding/alice
	koding/kontrol/daemon
	koding/kontrol/api
	koding/fujin
)

go install -v -ldflags "$ldflags" "${services[@]}"
cp $GOPATH/bin/* $GOPATH/../kites

#! /bin/bash

export GOPATH=$(cd "$(dirname "$0")"; pwd)
export GIT_DIR=$GOPATH/../.git

ldflags="-X koding/tools/lifecycle.version $(git rev-parse HEAD)"
services=(
	koding/broker
	koding/kites/os
	koding/kites/irc
	koding/virt/idshift
	koding/virt/ldapserver
	koding/virt/proxy
	koding/virt/vmtool
	koding/alice
)

go install -v -ldflags "$ldflags" "${services[@]}"
cp $GOPATH/bin/* $GOPATH/../kites

--- 
+++ 
@@ -13,9 +13,6 @@
 	koding/virt/proxy
 	koding/virt/vmtool
 	koding/alice
-	koding/kontrol/daemon
-	koding/kontrol/api
-	koding/fujin
 )
 
 go install -v -ldflags "$ldflags" "${services[@]}"
Build kontrol and fujin too
