From 46b3d9daae1caa4922023273a564274ccae48b55 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Wed, 24 Sep 2014 21:24:12 -0700 Subject: [PATCH] moved cmd to cli folder --- .gitignore | 2 +- Makefile | 4 ++-- {cmd => cli}/build.go | 0 {cmd => cli}/disable.go | 0 {cmd => cli}/enable.go | 0 {cmd => cli}/handle.go | 0 {cmd => cli}/main.go | 0 {cmd => cli}/repos.go | 0 {cmd => cli}/restart.go | 0 {cmd => cli}/status.go | 0 {cmd => cli}/util.go | 0 {cmd => cli}/whoami.go | 0 12 files changed, 3 insertions(+), 3 deletions(-) rename {cmd => cli}/build.go (100%) rename {cmd => cli}/disable.go (100%) rename {cmd => cli}/enable.go (100%) rename {cmd => cli}/handle.go (100%) rename {cmd => cli}/main.go (100%) rename {cmd => cli}/repos.go (100%) rename {cmd => cli}/restart.go (100%) rename {cmd => cli}/status.go (100%) rename {cmd => cli}/util.go (100%) rename {cmd => cli}/whoami.go (100%) diff --git a/.gitignore b/.gitignore index 544efd3209..2b77de6c96 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,7 @@ drone.sublime-workspace *.out *.rice-box.go -cmd/cmd +cli/cli client/client server/server debian/drone/usr diff --git a/Makefile b/Makefile index c6be682694..ccdf238c54 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ test: go test -cover -short ./... build: - go build -o debian/drone/usr/local/bin/drone -ldflags "-X main.revision $(SHA)" github.com/drone/drone/cmd + go build -o debian/drone/usr/local/bin/drone -ldflags "-X main.revision $(SHA)" github.com/drone/drone/cli go build -o debian/drone/usr/local/bin/droned -ldflags "-X main.revision $(SHA)" github.com/drone/drone/server install: @@ -29,7 +29,7 @@ clean: rm -f debian/drone/usr/local/bin/droned rm -f debian/drone.deb rm -f server/server - rm -f cmd/cmd + rm -f cli/cli lessc: lessc --clean-css server/app/styles/drone.less server/app/styles/drone.css diff --git a/cmd/build.go b/cli/build.go similarity index 100% rename from cmd/build.go rename to cli/build.go diff --git a/cmd/disable.go b/cli/disable.go similarity index 100% rename from cmd/disable.go rename to cli/disable.go diff --git a/cmd/enable.go b/cli/enable.go similarity index 100% rename from cmd/enable.go rename to cli/enable.go diff --git a/cmd/handle.go b/cli/handle.go similarity index 100% rename from cmd/handle.go rename to cli/handle.go diff --git a/cmd/main.go b/cli/main.go similarity index 100% rename from cmd/main.go rename to cli/main.go diff --git a/cmd/repos.go b/cli/repos.go similarity index 100% rename from cmd/repos.go rename to cli/repos.go diff --git a/cmd/restart.go b/cli/restart.go similarity index 100% rename from cmd/restart.go rename to cli/restart.go diff --git a/cmd/status.go b/cli/status.go similarity index 100% rename from cmd/status.go rename to cli/status.go diff --git a/cmd/util.go b/cli/util.go similarity index 100% rename from cmd/util.go rename to cli/util.go diff --git a/cmd/whoami.go b/cli/whoami.go similarity index 100% rename from cmd/whoami.go rename to cli/whoami.go