Skip to content

Commit

Permalink
ref(Makefiles): use wildcard for GO_FILES
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Jun 17, 2015
1 parent ab4544b commit e048a5f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion builder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include ../includes.mk
# the filepath to this repository, relative to $GOPATH/src
repo_path = github.com/deis/deis/builder

GO_FILES = types.go utils.go utils_test.go
GO_FILES = $(wildcard *.go)
GO_PACKAGES = src tests
GO_PACKAGES_REPO_PATH = $(addprefix $(repo_path)/,$(GO_PACKAGES))

Expand Down
2 changes: 1 addition & 1 deletion deisctl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include ../includes.mk
# the filepath to this repository, relative to $GOPATH/src
repo_path = github.com/deis/deis/deisctl

GO_FILES = deisctl.go deisctl_test.go
GO_FILES = $(wildcard *.go)
GO_PACKAGES = backend client cmd config units utils
GO_PACKAGES_REPO_PATH = $(addprefix $(repo_path)/,$(GO_PACKAGES))

Expand Down
2 changes: 1 addition & 1 deletion logger/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include ../includes.mk
# the filepath to this repository, relative to $GOPATH/src
repo_path = github.com/deis/deis/logger

GO_FILES = main.go
GO_FILES = $(wildcard *.go)
GO_PACKAGES = syslog syslogd tests
GO_PACKAGES_REPO_PATH = $(addprefix $(repo_path)/,$(GO_PACKAGES))
GO_TESTABLE_PACKAGES_REPO_PATH = $(addprefix $(repo_path)/,syslog syslogd)
Expand Down
2 changes: 1 addition & 1 deletion logspout/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include ../includes.mk
# the filepath to this repository, relative to $GOPATH/src
repo_path = github.com/deis/deis/logspout

GO_FILES = attacher.go logspout.go routes.go types.go
GO_FILES = $(wildcard *.go)
GO_PACKAGES = utils
GO_PACKAGES_REPO_PATH = $(addprefix $(repo_path)/,$(GO_PACKAGES))

Expand Down
2 changes: 1 addition & 1 deletion publisher/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include ../includes.mk
# the filepath to this repository, relative to $GOPATH/src
repo_path = github.com/deis/deis/publisher

GO_FILES = main.go
GO_FILES = $(wildcard *.go)
GO_PACKAGES = server
GO_PACKAGES_REPO_PATH = $(addprefix $(repo_path)/,$(GO_PACKAGES))

Expand Down
2 changes: 1 addition & 1 deletion router/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include ../includes.mk
# the filepath to this repository, relative to $GOPATH/src
repo_path = github.com/deis/deis/router

GO_FILES = boot.go
GO_FILES = $(wildcard *.go)
GO_PACKAGES = logger tests
GO_PACKAGES_REPO_PATH = $(addprefix $(repo_path)/,$(GO_PACKAGES))

Expand Down
2 changes: 1 addition & 1 deletion swarm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include ../includes.mk
# the filepath to this repository, relative to $GOPATH/src
repo_path = github.com/deis/deis/swarm

GO_FILES = swarm.go
GO_FILES = $(wildcard *.go)
GO_PACKAGES =
GO_PACKAGES_REPO_PATH = $(addprefix $(repo_path)/,$(GO_PACKAGES))

Expand Down
4 changes: 1 addition & 3 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ include ../includes.mk
# the filepath to this repository, relative to $GOPATH/src
repo_path = github.com/deis/deis/tests

GO_FILES = apps_test.go auth_test.go builds_test.go config_test.go integration_test.go \
keys_test.go limits_test.go main.go perms_test.go ps_test.go releases_test.go \
smoke_test.go tags_test.go
GO_FILES = $(wildcard *.go)
GO_PACKAGES = dockercli etcdutils mock utils
GO_PACKAGES_REPO_PATH = $(addprefix $(repo_path)/,$(GO_PACKAGES))

Expand Down

0 comments on commit e048a5f

Please sign in to comment.