Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 694 Bytes

README-dev.md

File metadata and controls

33 lines (22 loc) · 694 Bytes

How to build

  1. $GOROOT and $GOPATH should be set at that moment.

  2. Clone dapp source code and place into the right place in $GOPATH:

mkdir -p $GOPATH/src/github.com/flant
git clone https://github.com/flant/dapp.git $GOPATH/src/github.com/flant/dapp
cd $GOPATH/src/github.com/flant/dapp
  1. Setup development environment variables:
source ./go-env

This will make ruby-dapp work properly with newly builded dappfile-yml.

  1. Download go dependencies:
./go-get.sh
  1. Run build:
./go-build.sh

dappfile-yml binary will be placed into your $GOPATH/bin. To call you can use $DAPP_BIN_DAPPFILE_YML (used by ruby-dapp internally) or simply dappfile-yml.