diff --git a/.travis.yml b/.travis.yml index 9d6c5a6..1e687a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,12 +3,4 @@ - "1.11" script: - make depend - - make - notifications: - email: - recipients: - - mtorres@tibco.com - #- yxu@tibco.com - #- mwenyan@tibco.com - on_success: never # default: change - on_failure: always # default: always \ No newline at end of file + - make \ No newline at end of file diff --git a/Makefile b/Makefile index aa98f87..9876b1a 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ buildtype: install @$(SCRIPTS_PATH)/buildtype.sh .PHONY: test_all -all: dovetail-tests hyperledger-fabric-tests corda-tests +test_all: dovetail-tests hyperledger-fabric-tests corda-tests .PHONY: dovetail-tests dovetail-tests: diff --git a/README.md b/README.md index 70aefe1..0c63c63 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,22 @@ This allows definition of your smart contracts on a model driven approach and ab ## Installation -Install [Go version 1.11.x](https://golang.org/doc/install) and [set GOPATH environment variable](https://golang.org/doc/code.html#GOPATH). Clone this project, then install and test it as follows: +For step by step instructions on how to setup Project Dovetailâ„¢ cli environment, please go to the installation section on the [documentation page](https://tibcosoftware.github.io/dovetail/getting-started/getting-started-cli/) + +## Build dovetail cli from source + +Install [Go version 1.11.x](https://golang.org/doc/install) and [set GOPATH environment variable](https://golang.org/doc/code.html#GOPATH). Then install and test it as follows: + ``` export PATH=${GOPATH}/bin:${PATH} go get -u -d github.com/TIBCOSoftware/dovetail-cli cd ${GOPATH}/src/github.com/TIBCOSoftware/dovetail-cli make ``` -If you see test errors, please refer the Troubleshooting or Support section below. -For step by step instructions on how to setup Project Dovetailâ„¢ environment, please go to the installation section on the [documentation page](https://tibcosoftware.github.io/dovetail/getting-started/getting-started-cli/) +If you want to just install the cli and not run any tests use "make install" command instead of "make". + +If you see test errors, please refer the Troubleshooting or Support section below. ### Note on third party dependencies diff --git a/scripts/install.sh b/scripts/install.sh new file mode 100644 index 0000000..e415ddb --- /dev/null +++ b/scripts/install.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +echo "Installing dovetail-cli..." +go get -u -d github.com/TIBCOSoftware/dovetail-cli +cd ${GOPATH}/src/github.com/TIBCOSoftware/dovetail-cli +make install \ No newline at end of file