Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Coredns
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
Coredns
Commits
49c776df
Commit
49c776df
authored
Oct 10, 2018
by
Chris O'Haver
Committed by
GitHub
Oct 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename VERBOSE to be more generic (#2172)
parent
288aef5f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Makefile
Makefile
+2
-2
Makefile.release
Makefile.release
+3
-3
No files found.
Makefile
View file @
49c776df
...
@@ -3,7 +3,7 @@ GITCOMMIT:=$(shell git describe --dirty --always)
...
@@ -3,7 +3,7 @@ GITCOMMIT:=$(shell git describe --dirty --always)
BINARY
:=
coredns
BINARY
:=
coredns
SYSTEM
:=
SYSTEM
:=
CHECKS
:=
check godeps
CHECKS
:=
check godeps
VERBOSE
:=
-v
BUILDOPTS
:=
-v
GOPATH
?=
$(HOME)
/go
GOPATH
?=
$(HOME)
/go
PRESUBMIT
:=
core coremain plugin
test
request
PRESUBMIT
:=
core coremain plugin
test
request
MAKEPWD
:=
$(
dir
$(
realpath
$(
firstword
$(MAKEFILE_LIST)
)))
MAKEPWD
:=
$(
dir
$(
realpath
$(
firstword
$(MAKEFILE_LIST)
)))
...
@@ -13,7 +13,7 @@ all: coredns
...
@@ -13,7 +13,7 @@ all: coredns
.PHONY
:
coredns
.PHONY
:
coredns
coredns
:
$(CHECKS)
coredns
:
$(CHECKS)
CGO_ENABLED
=
$(CGO_ENABLED)
$(SYSTEM)
go build
$(
VERBOSE
)
-ldflags
=
"-s -w -X github.com/coredns/coredns/coremain.GitCommit=
$(GITCOMMIT)
"
-o
$(BINARY)
CGO_ENABLED
=
$(CGO_ENABLED)
$(SYSTEM)
go build
$(
BUILDOPTS
)
-ldflags
=
"-s -w -X github.com/coredns/coredns/coremain.GitCommit=
$(GITCOMMIT)
"
-o
$(BINARY)
.PHONY
:
check
.PHONY
:
check
check
:
presubmit core/zplugin.go core/dnsserver/zdirectives.go godeps
check
:
presubmit core/zplugin.go core/dnsserver/zdirectives.go godeps
...
...
Makefile.release
View file @
49c776df
...
@@ -69,12 +69,12 @@ build:
...
@@ -69,12 +69,12 @@ build:
@
echo
Cleaning old builds
@
echo
Cleaning old builds
@
rm
-rf
build
&&
mkdir
build
@
rm
-rf
build
&&
mkdir
build
@
echo
Building: darwin/amd64 -
$(VERSION)
@
echo
Building: darwin/amd64 -
$(VERSION)
mkdir
-p
build/darwin/amd64
&&
$(MAKE)
coredns
BINARY
=
build/darwin/amd64/
$(NAME)
SYSTEM
=
"GOOS=darwin GOARCH=amd64"
CHECKS
=
"godeps"
VERBOSE
=
""
mkdir
-p
build/darwin/amd64
&&
$(MAKE)
coredns
BINARY
=
build/darwin/amd64/
$(NAME)
SYSTEM
=
"GOOS=darwin GOARCH=amd64"
CHECKS
=
"godeps"
BUILDOPTS
=
""
@
echo
Building: windows/amd64 -
$(VERSION)
@
echo
Building: windows/amd64 -
$(VERSION)
mkdir
-p
build/windows/amd64
&&
$(MAKE)
coredns
BINARY
=
build/windows/amd64/
$(NAME)
.exe
SYSTEM
=
"GOOS=windows GOARCH=amd64"
CHECKS
=
""
VERBOSE
=
""
mkdir
-p
build/windows/amd64
&&
$(MAKE)
coredns
BINARY
=
build/windows/amd64/
$(NAME)
.exe
SYSTEM
=
"GOOS=windows GOARCH=amd64"
CHECKS
=
""
BUILDOPTS
=
""
@
echo
Building: linux/
$(LINUX_ARCH)
-
$(VERSION)
;
\
@
echo
Building: linux/
$(LINUX_ARCH)
-
$(VERSION)
;
\
for
arch
in
$(LINUX_ARCH)
;
do
\
for
arch
in
$(LINUX_ARCH)
;
do
\
mkdir
-p
build/linux/
$$
arch
&&
$(MAKE)
coredns
BINARY
=
build/linux/
$$
arch
/
$(NAME)
SYSTEM
=
"GOOS=linux GOARCH=
$$
arch"
CHECKS
=
""
VERBOSE
=
""
;
\
mkdir
-p
build/linux/
$$
arch
&&
$(MAKE)
coredns
BINARY
=
build/linux/
$$
arch
/
$(NAME)
SYSTEM
=
"GOOS=linux GOARCH=
$$
arch"
CHECKS
=
""
BUILDOPTS
=
""
;
\
done
done
.PHONY
:
tar
.PHONY
:
tar
...
...
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