From 4d4c412f764b266565f8d72e2aae039514cd72cf Mon Sep 17 00:00:00 2001 From: Julian Skupnjak Date: Thu, 20 Jul 2017 07:00:12 +0200 Subject: [PATCH] increase version numbers; use godep --- .gitignore | 1 + Godeps/Godeps.json | 38 ++++++++++++++++++++++++++++++++++++++ Godeps/Readme | 5 +++++ README.md | 4 ++-- main.go | 2 +- 5 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 Godeps/Godeps.json create mode 100644 Godeps/Readme diff --git a/.gitignore b/.gitignore index f4a99b2..c85b1cf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ goml-linux-amd64 goml-darwin-amd64 +vendor/* diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json new file mode 100644 index 0000000..fe7bc10 --- /dev/null +++ b/Godeps/Godeps.json @@ -0,0 +1,38 @@ +{ + "ImportPath": "github.com/JulzDiverse/goml", + "GoVersion": "go1.8", + "GodepVersion": "v79", + "Deps": [ + { + "ImportPath": "github.com/fatih/color", + "Comment": "v0.2.0", + "Rev": "87d4004f2ab62d0d255e0a38f1680aa534549fe3" + }, + { + "ImportPath": "github.com/mattn/go-colorable", + "Comment": "v0.0.6", + "Rev": "ed8eb9e318d7a84ce5915b495b7d35e0cfe7b5a8" + }, + { + "ImportPath": "github.com/mattn/go-isatty", + "Rev": "66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8" + }, + { + "ImportPath": "github.com/smallfish/simpleyaml", + "Rev": "116d8e577389d62b8f83df98852be7889fd2cea4" + }, + { + "ImportPath": "github.com/urfave/cli", + "Comment": "v1.19.1", + "Rev": "0bdeddeeb0f650497d603c4ad7b20cfe685682f6" + }, + { + "ImportPath": "golang.org/x/sys/unix", + "Rev": "f3918c30c5c2cb527c0b071a27c35120a6c0719a" + }, + { + "ImportPath": "gopkg.in/yaml.v2", + "Rev": "e4d366fc3c7938e2958e662b4258c7a89e1f0e3e" + } + ] +} diff --git a/Godeps/Readme b/Godeps/Readme new file mode 100644 index 0000000..4cdaa53 --- /dev/null +++ b/Godeps/Readme @@ -0,0 +1,5 @@ +This directory tree is generated automatically by godep. + +Please do not edit. + +See https://github.com/tools/godep for more information. diff --git a/README.md b/README.md index 6532441..3f64ace 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Additionally, you can **transfer** properties from one YAML to another YAML ### OS X ``` -$ wget -O /usr/local/bin/goml https://github.com/JulzDiverse/goml/releases/download/v0.1.0/goml-darwin-amd64 && chmod +x /usr/local/bin/goml +$ wget -O /usr/local/bin/goml https://github.com/JulzDiverse/goml/releases/download/v0.2.0/goml-darwin-amd64 && chmod +x /usr/local/bin/goml ``` **Using Homebrew:** @@ -27,7 +27,7 @@ $ brew install goml ### Linux ``` -$ wget -O /usr/bin/goml https://github.com/JulzDiverse/goml/releases/download/v0.1.0/goml-linux-amd64 && chmod +x /usr/bin/goml +$ wget -O /usr/bin/goml https://github.com/JulzDiverse/goml/releases/download/v0.2.0/goml-linux-amd64 && chmod +x /usr/bin/goml ``` ## Usage diff --git a/main.go b/main.go index 4d53418..870016f 100644 --- a/main.go +++ b/main.go @@ -21,7 +21,7 @@ func main() { } cmd.Name = "goml" cmd.Usage = "CLI Tool to do CRUD like manipulation on YAML files" - cmd.Version = "0.1.0" + cmd.Version = "0.2.0" cmd.Commands = []cli.Command{ { Name: "get",