Merge pull request #27 from adamreese/merge-prep

ref(*) move lib code into pkg
pull/291/head
Adam Reese 9 years ago
commit a88506e5d1

@ -55,11 +55,11 @@ test-style:
@if [ $(shell gofmt -e -l -s $(GO_DIRS)) ]; then \
echo "gofmt check failed:"; gofmt -e -d -s $(GO_DIRS); exit 1; \
fi
@for i in . $(GO_DIRS); do \
@for i in $(GO_PKGS); do \
golint $$i; \
done
@for i in . $(GO_DIRS); do \
go vet github.com/deis/helm-dm/$$i; \
@for i in $(GO_DIRS); do \
go tool vet $$i; \
done
.PHONY: bootstrap \

@ -9,7 +9,7 @@ import (
"github.com/aokoli/goutils"
"github.com/codegangsta/cli"
"github.com/deis/helm-dm/format"
"github.com/deis/helm-dm/pkg/format"
"github.com/kubernetes/deployment-manager/chart"
)

@ -4,7 +4,7 @@ import (
"errors"
"github.com/codegangsta/cli"
"github.com/deis/helm-dm/format"
"github.com/deis/helm-dm/pkg/format"
)
func init() {

@ -5,9 +5,9 @@ import (
"os"
"github.com/codegangsta/cli"
"github.com/deis/helm-dm/dm"
"github.com/deis/helm-dm/format"
"github.com/deis/helm-dm/kubectl"
"github.com/deis/helm-dm/pkg/dm"
"github.com/deis/helm-dm/pkg/format"
"github.com/deis/helm-dm/pkg/kubectl"
)
// ErrAlreadyInstalled indicates that DM is already installed.

@ -2,9 +2,9 @@ package main
import (
"github.com/codegangsta/cli"
"github.com/deis/helm-dm/dm"
"github.com/deis/helm-dm/format"
"github.com/deis/helm-dm/kubectl"
"github.com/deis/helm-dm/pkg/dm"
"github.com/deis/helm-dm/pkg/format"
"github.com/deis/helm-dm/pkg/kubectl"
)
func init() {

@ -4,7 +4,7 @@ import (
"errors"
"github.com/codegangsta/cli"
"github.com/deis/helm-dm/format"
"github.com/deis/helm-dm/pkg/format"
)
func init() {

@ -4,8 +4,8 @@ import (
"os"
"github.com/codegangsta/cli"
"github.com/deis/helm-dm/dm"
"github.com/deis/helm-dm/format"
"github.com/deis/helm-dm/pkg/dm"
"github.com/deis/helm-dm/pkg/format"
)
var version = "0.0.1"

@ -2,7 +2,7 @@ package main
import (
"github.com/codegangsta/cli"
"github.com/deis/helm-dm/format"
"github.com/deis/helm-dm/pkg/format"
)
func init() {

@ -6,7 +6,7 @@ import (
"os"
"github.com/codegangsta/cli"
"github.com/deis/helm-dm/format"
"github.com/deis/helm-dm/pkg/format"
"github.com/kubernetes/deployment-manager/chart"
)

@ -3,8 +3,8 @@ package main
import (
"fmt"
"github.com/deis/helm-dm/format"
"github.com/deis/helm-dm/kubectl"
"github.com/deis/helm-dm/pkg/format"
"github.com/deis/helm-dm/pkg/kubectl"
)
func target(dryRun bool) error {

@ -1,8 +1,8 @@
package dm
import (
"github.com/deis/helm-dm/format"
"github.com/deis/helm-dm/kubectl"
"github.com/deis/helm-dm/pkg/format"
"github.com/deis/helm-dm/pkg/kubectl"
)
// Install uses kubectl to install the base DM.

@ -1,7 +1,7 @@
package dm
import (
"github.com/deis/helm-dm/kubectl"
"github.com/deis/helm-dm/pkg/kubectl"
)
// Uninstall uses kubectl to uninstall the base DM.
Loading…
Cancel
Save