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
3e199ab3
Commit
3e199ab3
authored
Mar 03, 2019
by
Jakub Sztandera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mk: s/go-build/go-build-relative/
License: MIT Signed-off-by:
Jakub Sztandera
<
kubuxu@protonmail.ch
>
parent
7f80485d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
cmd/ipfs/Rules.mk
cmd/ipfs/Rules.mk
+1
-1
coverage/Rules.mk
coverage/Rules.mk
+1
-1
mk/golang.mk
mk/golang.mk
+1
-1
test/bin/Rules.mk
test/bin/Rules.mk
+6
-6
No files found.
cmd/ipfs/Rules.mk
View file @
3e199ab3
...
...
@@ -19,7 +19,7 @@ $(d)-try-build $(IPFS_BIN_$(d)): GOFLAGS += $(cmd/ipfs_flags)
# uses second expansion to collect all $(DEPS_GO)
$(IPFS_BIN_$(d))
:
$(d) $$(DEPS_GO) ALWAYS
#
| $(DEPS_OO_$(d))
$
(
go-build
)
$
(
go-build
-relative
)
TRY_BUILD_$(d)
=
$(
addprefix
$(d)
-try-build-
,
$(SUPPORTED_PLATFORMS)
)
$(d)-try-build
:
$(TRY_BUILD_$(d))
...
...
coverage/Rules.mk
View file @
3e199ab3
...
...
@@ -32,7 +32,7 @@ TGTS_$(d) := $(d)/unit_tests.coverprofile
# sharness tests coverage
$(d)/ipfs
:
GOTAGS += testrunmain
$(d)/ipfs
:
$(d)/main
$
(
go-build
)
$
(
go-build
-relative
)
CLEAN
+=
$(d)
/ipfs
...
...
mk/golang.mk
View file @
3e199ab3
...
...
@@ -26,7 +26,7 @@ go-pkgs=$(shell $(GOCC) list github.com/ipfs/go-ipfs/...)
go-tags
=
$(
if
$(GOTAGS)
,
-tags
=
"
$(
call
join-with,
$(space)
,
$(GOTAGS)
)
"
)
go-flags-with-tags
=
$(GOFLAGS)
$
(
go-tags
)
define
go-build
define
go-build
-relative
$(GOCC)
build
$(go-flags-with-tags)
-o
"$@"
"$(call go-pkg-name,$<)"
endef
...
...
test/bin/Rules.mk
View file @
3e199ab3
...
...
@@ -3,27 +3,27 @@ include mk/header.mk
TGTS_$(d)
:=
$(d)/pollEndpoint
:
thirdparty/pollEndpoint
$
(
go-build
)
$
(
go-build
-relative
)
TGTS_$(d)
+=
$(d)
/pollEndpoint
$(d)/go-sleep
:
test/dependencies/go-sleep
$
(
go-build
)
$
(
go-build
-relative
)
TGTS_$(d)
+=
$(d)
/go-sleep
$(d)/go-timeout
:
test/dependencies/go-timeout
$
(
go-build
)
$
(
go-build
-relative
)
TGTS_$(d)
+=
$(d)
/go-timeout
$(d)/iptb
:
test/dependencies/iptb
$
(
go-build
)
$
(
go-build
-relative
)
TGTS_$(d)
+=
$(d)
/iptb
$(d)/ma-pipe-unidir
:
test/dependencies/ma-pipe-unidir
$
(
go-build
)
$
(
go-build
-relative
)
TGTS_$(d)
+=
$(d)
/ma-pipe-unidir
$(d)/json-to-junit
:
test/dependencies/json-to-junit
$
(
go-build
)
$
(
go-build
-relative
)
TGTS_$(d)
+=
$(d)
/json-to-junit
TGTS_GX_$(d)
:=
hang-fds
...
...
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