Skip to content

Commit fe9351b

Browse files
committed
Move cmd files under cmd/docker-machine to make it go-install-able
Signed-off-by: Ivan Markin <sw@nogoegst.net>
1 parent 2729200 commit fe9351b

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
docker-machine*
21
*.log
32
*.iml
43
.idea/

mk/build.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ define gocross
1818
$(GO) build \
1919
-o $(PREFIX)/bin/$(PKG_NAME)-${os.$(1)}-${arch.$(2)}$(call extension,$(GOOS)) \
2020
-a $(VERBOSE_GO) -tags "static_build netgo $(BUILDTAGS)" -installsuffix netgo \
21-
-ldflags "$(GO_LDFLAGS) -extldflags -static" $(GO_GCFLAGS) ./cmd/machine.go;)
21+
-ldflags "$(GO_LDFLAGS) -extldflags -static" $(GO_GCFLAGS) ./cmd/docker-machine;)
2222
endef
2323

2424
build-clean:
@@ -31,6 +31,6 @@ $(PREFIX)/bin/$(PKG_NAME)$(call extension,$(GOOS)): $(shell find . -type f -name
3131
$(GO) build \
3232
-o $@ \
3333
$(VERBOSE_GO) -tags "$(BUILDTAGS)" \
34-
-ldflags "$(GO_LDFLAGS)" $(GO_GCFLAGS) ./cmd/machine.go
34+
-ldflags "$(GO_LDFLAGS)" $(GO_GCFLAGS) ./cmd/docker-machine
3535

3636
build: $(PREFIX)/bin/$(PKG_NAME)$(call extension,$(GOOS))

0 commit comments

Comments
 (0)