From 1e31839cc2ad09871ca447e737d4ca685b3be15a Mon Sep 17 00:00:00 2001 From: Jeromy Date: Mon, 9 May 2016 12:48:06 -0700 Subject: [PATCH] use repo level bins in test Makefile License: MIT Signed-off-by: Jeromy --- Makefile | 2 ++ test/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index b94bd3f41..7a7131955 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,8 @@ go_check: bin/gx-v%: @echo "installing gx $(@:bin/gx-%=%)" @bin/dist_get gx $@ $(@:bin/gx-%=%) + rm -f bin/gx + ln -s $(@:bin/%=%) bin/gx bin/gx-go-v%: @echo "installing gx-go $(@:bin/gx-go-%=%)" diff --git a/test/Makefile b/test/Makefile index 689e22afa..26b8b5b1b 100644 --- a/test/Makefile +++ b/test/Makefile @@ -9,6 +9,8 @@ GOSLEEP_SRC = ./dependencies/go-sleep GX_RELATIVE_PATH = ../../../../gx/ipfs +export PATH := ../bin:${PATH} + # User might want to override those on the command line GOFLAGS =