Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nfs-subdir-external-provisioner
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
nfs-subdir-external-provisioner
Commits
6ecaa76e
Unverified
Commit
6ecaa76e
authored
Sep 06, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Sep 06, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #30 from msau42/fix-windows
build windows binaries with .exe suffix
parents
2d335506
ea2f1b52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
build.make
build.make
+1
-1
No files found.
build.make
View file @
6ecaa76e
...
@@ -63,7 +63,7 @@ endif
...
@@ -63,7 +63,7 @@ endif
build-%
:
build-%
:
mkdir
-p
bin
mkdir
-p
bin
CGO_ENABLED
=
0
GOOS
=
linux go build
-a
-ldflags
'-X main.version=
$(REV)
-extldflags "-static"'
-o
./bin/
$*
./cmd/
$*
CGO_ENABLED
=
0
GOOS
=
linux go build
-a
-ldflags
'-X main.version=
$(REV)
-extldflags "-static"'
-o
./bin/
$*
./cmd/
$*
CGO_ENABLED
=
0
GOOS
=
windows go build
-a
-ldflags
'-X main.version=
$(REV)
-extldflags "-static"'
-o
./bin/
$*
./cmd/
$*
CGO_ENABLED
=
0
GOOS
=
windows go build
-a
-ldflags
'-X main.version=
$(REV)
-extldflags "-static"'
-o
./bin/
$*
.exe
./cmd/
$*
container-%
:
build-%
container-%
:
build-%
docker build
-t
$*
:latest
-f
$(
shell
if
[
-e
./cmd/
$*
/Dockerfile
]
;
then
echo
./cmd/
$*
/Dockerfile
;
else
echo
Dockerfile
;
fi
)
--label
revision
=
$(REV)
.
docker build
-t
$*
:latest
-f
$(
shell
if
[
-e
./cmd/
$*
/Dockerfile
]
;
then
echo
./cmd/
$*
/Dockerfile
;
else
echo
Dockerfile
;
fi
)
--label
revision
=
$(REV)
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment