Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 755 Bytes

040-building-from-source.md

File metadata and controls

28 lines (22 loc) · 755 Bytes
title expires_at tags
Building from Source
never
diego-release
cfdot

Building from Source

cfdot requires the Diego BBS client library. If you have already cloned diego-release, you can run the following commands using that diego-release directory as your GOPATH. Alternatively, run these commands with any other GOPATH and go get will automatically fetch the latest BBS code from diego-release.

# Get cfdot and required dependencies
go get code.cloudfoundry.org/cfdot
cd src/code.cloudfoundry.org/cfdot

# Build for Linux
GOOS=linux go build .

# Build for Mac
GOOS=darwin go build .

# Build for Windows
GOOS=windows go build .