From 01195b440ed12a6d267a7d175211b3a2b8fbe161 Mon Sep 17 00:00:00 2001 From: Nik Ogura Date: Fri, 8 Feb 2019 12:25:25 -0800 Subject: [PATCH] Moved main.go back into the root of the repo cos forcing people to remember to add the '/...' when running 'go get' is just plain bad UX. --- go.mod | 2 ++ go.sum | 4 ++++ cmd/gomason/main.go => main.go | 0 metadata.json | 2 +- pkg/gomason/gomason.go | 2 +- 5 files changed, 8 insertions(+), 2 deletions(-) rename cmd/gomason/main.go => main.go (100%) diff --git a/go.mod b/go.mod index 13a6e06..6655caa 100644 --- a/go.mod +++ b/go.mod @@ -11,6 +11,8 @@ require ( github.com/jtolds/gls v4.2.1+incompatible // indirect github.com/magiconair/properties v1.8.0 // indirect github.com/mitchellh/go-homedir v0.0.0-20161203194507-b8bc1bf76747 + github.com/mitchellh/gox v0.4.0 // indirect + github.com/mitchellh/iochan v1.0.0 // indirect github.com/mitchellh/mapstructure v0.0.0-20180511142126-bb74f1db0675 // indirect github.com/pelletier/go-toml v1.2.0 // indirect github.com/phayes/freeport v0.0.0-20171002185219-e27662a4a9d6 diff --git a/go.sum b/go.sum index 1523ea7..feb5901 100644 --- a/go.sum +++ b/go.sum @@ -18,6 +18,10 @@ github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDe github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/mitchellh/go-homedir v0.0.0-20161203194507-b8bc1bf76747 h1:eQox4Rh4ewJF+mqYPxCkmBAirRnPaHEB26UkNuPyjlk= github.com/mitchellh/go-homedir v0.0.0-20161203194507-b8bc1bf76747/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/gox v0.4.0 h1:lfGJxY7ToLJQjHHwi0EX6uYBdK78egf954SQl13PQJc= +github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= +github.com/mitchellh/iochan v1.0.0 h1:C+X3KsSTLFVBr/tK1eYN/vs4rJcvsiLU338UhYPJWeY= +github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= github.com/mitchellh/mapstructure v0.0.0-20180511142126-bb74f1db0675 h1:/rdJjIiKG5rRdwG5yxHmSE/7ZREjpyC0kL7GxGT/qJw= github.com/mitchellh/mapstructure v0.0.0-20180511142126-bb74f1db0675/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc= diff --git a/cmd/gomason/main.go b/main.go similarity index 100% rename from cmd/gomason/main.go rename to main.go diff --git a/metadata.json b/metadata.json index 7475538..d6368c0 100644 --- a/metadata.json +++ b/metadata.json @@ -1,5 +1,5 @@ { - "version": "2.5.3", + "version": "2.5.4", "package": "github.com/nikogura/gomason", "description": "A tool for testing, building, signing, and publishing your project from a clean workspace.", "repository": "http://localhost:8081/artifactory/generic-local", diff --git a/pkg/gomason/gomason.go b/pkg/gomason/gomason.go index 994cd96..8b293f2 100644 --- a/pkg/gomason/gomason.go +++ b/pkg/gomason/gomason.go @@ -13,7 +13,7 @@ import ( "strings" ) -const VERSION = "2.5.3" +const VERSION = "2.5.4" // Metadata type to represent the metadata.json file type Metadata struct {