Skip to content

Commit 5124911

Browse files
authored
Merge pull request #236 from ZauberNerd/relative-paths-makefile
Use relative paths in Makefile for "go build"
2 parents ebd9dc6 + 3289c31 commit 5124911

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ clean:
1010

1111
osxkeychain:
1212
mkdir -p bin
13-
go build -ldflags -s -o bin/docker-credential-osxkeychain osxkeychain/cmd/
13+
go build -ldflags -s -o bin/docker-credential-osxkeychain ./osxkeychain/cmd/
1414

1515
osxcodesign: osxkeychain
1616
$(eval SIGNINGHASH = $(shell security find-identity -v -p codesigning | grep "Developer ID Application: Docker Inc" | cut -d ' ' -f 4))
@@ -19,15 +19,15 @@ osxcodesign: osxkeychain
1919

2020
secretservice:
2121
mkdir -p bin
22-
go build -o bin/docker-credential-secretservice secretservice/cmd/
22+
go build -o bin/docker-credential-secretservice ./secretservice/cmd/
2323

2424
pass:
2525
mkdir -p bin
26-
go build -o bin/docker-credential-pass pass/cmd/
26+
go build -o bin/docker-credential-pass ./pass/cmd/
2727

2828
wincred:
2929
mkdir -p bin
30-
go build -o bin/docker-credential-wincred.exe wincred/cmd/
30+
go build -o bin/docker-credential-wincred.exe ./wincred/cmd/
3131

3232
linuxrelease:
3333
mkdir -p release

0 commit comments

Comments
 (0)