Skip to content

Commit 59fc324

Browse files
author
Matthew Fisher
committed
ref(builder): rename bin/ to src/
The go source files aren't actual binaries at this time, so renaming it to `src` to denote where the source files are located makes more logical sense.
1 parent 8207364 commit 59fc324

9 files changed

Lines changed: 2 additions & 2 deletions

builder/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ include ../includes.mk
44
repo_path = github.com/deis/deis/builder
55

66
GO_FILES = types.go utils.go utils_test.go
7-
GO_PACKAGES = bin tests
7+
GO_PACKAGES = src tests
88
GO_PACKAGES_REPO_PATH = $(addprefix $(repo_path)/,$(GO_PACKAGES))
99

1010
COMPONENT = $(notdir $(repo_path))
@@ -15,7 +15,7 @@ BINARY_DEST_DIR := image/bin
1515

1616
build: check-docker
1717
for i in $(BINARIES); do \
18-
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 godep go build -a -installsuffix cgo -ldflags '-s' -o $(BINARY_DEST_DIR)/$$i bin/$$i.go || exit 1; \
18+
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 godep go build -a -installsuffix cgo -ldflags '-s' -o $(BINARY_DEST_DIR)/$$i src/$$i.go || exit 1; \
1919
$(call check-static-binary,$(BINARY_DEST_DIR)/$$i) \
2020
done
2121
docker build -t $(IMAGE) image

0 commit comments

Comments
 (0)