From 781c52f5e84bf4c04655db1565ccddfce648de8a Mon Sep 17 00:00:00 2001 From: Deluan Date: Fri, 25 Mar 2016 12:53:23 -0400 Subject: [PATCH] Update for Glide usage --- README.md | 10 +++++----- bin/goconvey.sh | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100755 bin/goconvey.sh diff --git a/README.md b/README.md index 8a077a18a..d3e0b0b16 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,9 @@ You will need to install [Go 1.6](https://golang.org/dl/) Then install dependencies: ``` -$ go get github.com/beego/bee -$ go get github.com/gpmgo/gopm -$ gopm get -v -g +$ go get github.com/beego/bee # bee command line tool +$ go get github.com/Masterminds/glide # dependency manager +$ glide install ``` From here it's a normal [BeeGo](http://beego.me) development cycle. Some useful commands: @@ -46,10 +46,10 @@ From here it's a normal [BeeGo](http://beego.me) development cycle. Some useful $ bee run # Start test runner on the browser -$ NOLOG=1 goconvey --port 9090 +$ bin/goconvey.sh # Run all tests -$ go test ./... -v +$ go test $(glide nv) -v ``` diff --git a/bin/goconvey.sh b/bin/goconvey.sh new file mode 100755 index 000000000..62959c671 --- /dev/null +++ b/bin/goconvey.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +NOLOG=1 goconvey --port 9090 -excludedDirs vendor,static,devDb,wiki,bin,tests \ No newline at end of file