Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
0bb54fb8
Commit
0bb54fb8
authored
Mar 02, 2016
by
Matt Butcher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(Makefile): make bootstrap smarter
Now bootstrap will only install deps that it is missing.
parent
3f2fe87c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
Makefile
Makefile
+14
-0
No files found.
Makefile
View file @
0bb54fb8
...
@@ -73,12 +73,26 @@ vet:
...
@@ -73,12 +73,26 @@ vet:
done
done
@
echo
-----------------
@
echo
-----------------
HAS_GLIDE
:=
$(
shell
command
-v
glide
)
HAS_GOLINT
:=
$(
shell
command
-v
golint
)
HAS_GOVET
:=
$(
shell
command
-v
go tool vet
)
HAS_GOX
:=
$(
shell
command
-v
gox
)
.PHONY
:
bootstrap
.PHONY
:
bootstrap
bootstrap
:
bootstrap
:
@
echo
Installing deps
@
echo
Installing deps
ifndef
HAS_GLIDE
go
get
github.com/Masterminds/glide
endif
ifndef
HAS_GOLINT
go
get
-u
github.com/golang/lint/golint
go
get
-u
github.com/golang/lint/golint
endif
ifndef
HAS_GOVET
go
get
-u
golang.org/x/tools/cmd/vet
go
get
-u
golang.org/x/tools/cmd/vet
endif
ifndef
HAS_GOX
go
get
-u
github.com/mitchellh/gox
go
get
-u
github.com/mitchellh/gox
endif
glide
install
glide
install
.PHONY
:
.project
.PHONY
:
.project
...
...
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