From e0d883e943088d8e2cb5ebb873db86ba10cb275e Mon Sep 17 00:00:00 2001 From: Ludovic Borie Date: Thu, 26 May 2016 22:19:38 +0200 Subject: [PATCH 1/2] [FEAT] Downloading dependencies Add a task in the Makefile to download the dependencies --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Makefile b/Makefile index b15a432..33f71b7 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,7 @@ help: @echo "----- BUILD ------------------------------------------------------------------------------" @echo "all clean and build the project" @echo "clean clean the project" + @echo "dependencies download the dependencies" @echo "build build all libraries and binaries" @echo "----- TESTS && LINT ----------------------------------------------------------------------" @echo "test test all packages" @@ -61,6 +62,22 @@ clean: @rm -Rf *.lock @rm -Rf build +dependencies: + @echo + @echo "----- DOWNLOADING -------------------------------------------------------------------------" + @go get -u github.com/gorilla/pat + @go get -u github.com/gorilla/mux + @go get -u github.com/gorilla/context + @go get -u github.com/codegangsta/negroni + @go get -u github.com/codegangsta/cli + @go get -u github.com/Sirupsen/logrus + @go get -u gopkg.in/mgo.v2 + @go get -u github.com/tools/godep + @go get -u github.com/assembla/cony + @go get -u github.com/streadway/amqp + @go get -u github.com/golang/lint/golint + @echo "----- DONE --------------------------------------------------------------------------------" + build: format @go build -v $(VERSION_FLAG) -o $(GO)/bin/handsongo handsongo.go From 92565fdeaa17c4b1e39f6ec608967ae58e4ddc77 Mon Sep 17 00:00:00 2001 From: Ludovic Borie Date: Thu, 26 May 2016 22:23:34 +0200 Subject: [PATCH 2/2] [FEAT] Simplify Readme --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 97e808a..e1aedea 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ #HANDSONGO This project is meant to help learning go. ```shell -make dockerBuildUp -cd etc -./apiquery.sh +make help ```