aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-06-11 23:41:51 -0400
committerDeterminant <[email protected]>2019-06-11 23:41:51 -0400
commit929a6d9370a0b92ef2b72eab4ecfe7ca7910be04 (patch)
treee99a6b6252f450f198bf472efb92acece5335fd2
parent40d830a4a3e225ea8819251c7c87a66eab0d46d0 (diff)
change gopath to github
-rw-r--r--Makefile9
-rw-r--r--test_msgnet/main.go2
-rw-r--r--test_p2p_stress/main.go2
3 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 06e1338..f82603c 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,11 @@ build:
mkdir -p build
build/test_msgnet: salticidae/libsalticidae.so test_msgnet/main.go
- go build -o $@ salticidae-go/test_msgnet
+ go build -o $@ github.com/Determinant/salticidae-go/test_msgnet
build/test_p2p_stress: salticidae/libsalticidae.so test_p2p_stress/main.go
- go build -o $@ salticidae-go/test_p2p_stress
+ go build -o $@ github.com/Determinant/salticidae-go/test_p2p_stress
+
+clean:
+ rm -r build/
+ cd salticidae/; make clean
+ rm salticidae/CMakeCache.txt
diff --git a/test_msgnet/main.go b/test_msgnet/main.go
index 1ebdc74..57ec533 100644
--- a/test_msgnet/main.go
+++ b/test_msgnet/main.go
@@ -12,7 +12,7 @@ import (
"encoding/binary"
"fmt"
"unsafe"
- "salticidae-go"
+ "github.com/Determinant/salticidae-go"
)
var ec salticidae.EventContext
diff --git a/test_p2p_stress/main.go b/test_p2p_stress/main.go
index ff7bd47..c958a95 100644
--- a/test_p2p_stress/main.go
+++ b/test_p2p_stress/main.go
@@ -24,7 +24,7 @@ package main
import "C"
import (
- "salticidae-go"
+ "github.com/Determinant/salticidae-go"
"math/rand"
"fmt"
"sync"