Skip to content

Commit

Permalink
Update Makefile and cmd to build correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
pecigonzalo committed Mar 25, 2020
1 parent 46f7893 commit 5c6014d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SRC := $(shell find . -name '*.go')
BINARY := docker-machine-driver-vmwareworkstation
LD_FLAGS=-s -w
LDFLAGS=-s -w

.PHONY: build
build: build/$(BINARY)-windows-amd64.exe
Expand All @@ -12,8 +12,7 @@ test:

build/$(BINARY)-windows-amd64.exe: $(SRC)
mkdir -p build
GOOS=windows GOARCH=amd64 \
go build -o build/$(BINARY)-windows-amd64.exe ./cmd/plugin
GOOS=windows GOARCH=amd64 go build -o build/$(BINARY)-windows-amd64.exe ./cmd/plugin

.PHONY: clean
clean:
Expand Down
2 changes: 1 addition & 1 deletion cmd/plugin/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package plugin
package main

import (
"github.com/docker/machine/libmachine/drivers/plugin"
Expand Down

0 comments on commit 5c6014d

Please sign in to comment.