Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Vault
Commits
1cf67916
Commit
1cf67916
authored
8 years ago
by
Jeff Mitchell
Browse files
Options
Download
Email Patches
Plain Diff
Add quickdev to Makefile
parent
487a96fa
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+5
-3
Makefile
with
5 additions
and
3 deletions
+5
-3
Makefile
+
5
-
3
View file @
1cf67916
...
...
@@ -4,17 +4,19 @@ EXTERNAL_TOOLS=\
github.com/mitchellh/gox
BUILD_TAGS
?=
vault
default
:
dev
default
:
dev
# bin generates the releaseable binaries for Vault
bin
:
generate
@
CGO_ENABLED
=
0
BUILD_TAGS
=
'
$(BUILD_TAGS)
'
sh
-c
"'
$(CURDIR)
/scripts/build.sh'"
# dev creates binaries for testing Vault locally. These are put
# into ./bin/ as well as $GOPATH/bin
# into ./bin/ as well as $GOPATH/bin, except for quickdev which
# is only put into /bin/
quickdev
:
generate
@
CGO_ENABLED
=
0 go build
-i
-tags
=
'
$(BUILD_TAGS)
'
-o
bin/vault
dev
:
generate
@
CGO_ENABLED
=
0
BUILD_TAGS
=
'
$(BUILD_TAGS)
'
VAULT_DEV_BUILD
=
1 sh
-c
"'
$(CURDIR)
/scripts/build.sh'"
dev-dynamic
:
generate
@
CGO_ENABLED
=
1
BUILD_TAGS
=
'
$(BUILD_TAGS)
'
VAULT_DEV_BUILD
=
1 sh
-c
"'
$(CURDIR)
/scripts/build.sh'"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help