From 795ab857ee88812959fe50e8c19d852f29489b1a Mon Sep 17 00:00:00 2001 From: Patrick DeVivo Date: Fri, 12 Jun 2020 17:29:42 -0400 Subject: [PATCH] some re-org of the cmd folder --- .goreleaser.yml | 2 +- cmd/{ => tickgit}/commands/helpers.go | 0 cmd/{ => tickgit}/commands/root.go | 0 cmd/{ => tickgit}/commands/todos.go | 0 cmd/{ => tickgit}/tickgit.go | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) rename cmd/{ => tickgit}/commands/helpers.go (100%) rename cmd/{ => tickgit}/commands/root.go (100%) rename cmd/{ => tickgit}/commands/todos.go (100%) rename cmd/{ => tickgit}/tickgit.go (51%) diff --git a/.goreleaser.yml b/.goreleaser.yml index 36d4ccb..eca30eb 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,7 +4,7 @@ before: - go mod tidy builds: - - main: ./cmd/tickgit.go + main: ./cmd/tickgit/tickgit.go env: - CGO_ENABLED=0 brews: diff --git a/cmd/commands/helpers.go b/cmd/tickgit/commands/helpers.go similarity index 100% rename from cmd/commands/helpers.go rename to cmd/tickgit/commands/helpers.go diff --git a/cmd/commands/root.go b/cmd/tickgit/commands/root.go similarity index 100% rename from cmd/commands/root.go rename to cmd/tickgit/commands/root.go diff --git a/cmd/commands/todos.go b/cmd/tickgit/commands/todos.go similarity index 100% rename from cmd/commands/todos.go rename to cmd/tickgit/commands/todos.go diff --git a/cmd/tickgit.go b/cmd/tickgit/tickgit.go similarity index 51% rename from cmd/tickgit.go rename to cmd/tickgit/tickgit.go index 579b7ca..4d156c3 100644 --- a/cmd/tickgit.go +++ b/cmd/tickgit/tickgit.go @@ -1,7 +1,7 @@ package main import ( - "github.com/augmentable-dev/tickgit/cmd/commands" + "github.com/augmentable-dev/tickgit/cmd/tickgit/commands" ) func main() {