Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
71988196
Commit
71988196
authored
Feb 23, 2016
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
assert that you must build from inside your gopath
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
ff341c75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Makefile
Makefile
+4
-1
No files found.
Makefile
View file @
71988196
...
...
@@ -28,6 +28,9 @@ gx_upgrade:
gxgo_upgrade
:
go get
-u
github.com/whyrusleeping/gx-go
path_check
:
test
"
$(
shell
pwd
)
"
=
"
$(GOPATH)
/src/github.com/ipfs/go-ipfs"
||
(
echo
"go-ipfs must be built from within your
\$
$GOPATH
directory."
&&
false
)
gx_check
:
@
bin/check_gx_program
"gx"
"0.3"
'Upgrade or install gx using your package manager or run `make gx_upgrade`'
@
bin/check_gx_program
"gx-go"
"0.2"
'Upgrade or install gx-go using your package manager or run `make gxgo_upgrade`'
...
...
@@ -44,7 +47,7 @@ vendor: godep
install
:
build
cd
cmd/ipfs
&&
go
install
-ldflags
=
$(ldflags)
build
:
deps
build
:
deps
path_check
cd
cmd/ipfs
&&
go build
-i
-ldflags
=
$(ldflags)
nofuse
:
deps
...
...
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