Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
1105 Внедрение механизмов обеспечения безопасности цепочки поставки программных проектов
Legacy
scanned-projects
helm
Commits
14cecc17
Commit
14cecc17
authored
9 years ago
by
Matt Butcher
Browse files
Options
Download
Plain Diff
Merge pull request #369 from technosophos/fix/makefile-pip
fix(Makefile): print error if pip is missing
parents
ce2a7997
9e848d36
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+5
-0
Makefile
with
5 additions
and
0 deletions
+5
-0
Makefile
+
5
−
0
View file @
14cecc17
...
@@ -72,10 +72,14 @@ HAS_GLIDE := $(shell command -v glide;)
...
@@ -72,10 +72,14 @@ HAS_GLIDE := $(shell command -v glide;)
HAS_GOLINT
:=
$(
shell
command
-v
golint
;)
HAS_GOLINT
:=
$(
shell
command
-v
golint
;)
HAS_GOVET
:=
$(
shell
command
-v
go tool vet
;)
HAS_GOVET
:=
$(
shell
command
-v
go tool vet
;)
HAS_GOX
:=
$(
shell
command
-v
gox
;)
HAS_GOX
:=
$(
shell
command
-v
gox
;)
HAS_PIP
:=
$(
shell
command
-v
pip
;)
.PHONY
:
bootstrap
.PHONY
:
bootstrap
bootstrap
:
bootstrap
:
@
echo
Installing deps
@
echo
Installing deps
ifndef
HAS_PIP
$(
error Please
install
the latest version of Python pip
)
endif
ifndef
HAS_GLIDE
ifndef
HAS_GLIDE
go get github.com/Masterminds/glide
go get github.com/Masterminds/glide
endif
endif
...
@@ -89,3 +93,4 @@ ifndef HAS_GOX
...
@@ -89,3 +93,4 @@ ifndef HAS_GOX
go get
-u
github.com/mitchellh/gox
go get
-u
github.com/mitchellh/gox
endif
endif
glide
install
glide
install
pip
install
--user
-r
expansion/requirements.txt
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets