aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-12-06 10:35:24 -0500
committerDeterminant <[email protected]>2019-12-06 10:35:24 -0500
commitea7812e16af71661b83f99c84f8150139c8e5fc5 (patch)
tree4052d56428ccdcdcdc8a4fdecd260ea6fa300a02
parentdcdb1d76b2a9942deb8f28943bc471647ba9cd6b (diff)
update readme
-rw-r--r--README.rst8
-rw-r--r--setup.sh2
2 files changed, 6 insertions, 4 deletions
diff --git a/README.rst b/README.rst
index 1e8af87..111b6a4 100644
--- a/README.rst
+++ b/README.rst
@@ -8,7 +8,9 @@ Build
::
- go get github.com/Determinant/salticidae-go
- cd $GOPATH/src/github.com/Determinant/salticidae-go/
- # make sure you already had salticidae dependecies installed (openssl and libuv)
+ # Add the following line in your build script to use salticidae-go in your project, before any `go get`/`go build`:
+ source /dev/stdin <<<"$(curl -sS https://raw.githubusercontent.com/Determinant/salticidae-go/master/setup.sh)"
+
+ # Try out the examples right in this repo:
+ # git clone the repo and cd
make
diff --git a/setup.sh b/setup.sh
index 86e1d98..cac7d45 100644
--- a/setup.sh
+++ b/setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -xe
+#!/bin/bash -e
tmpdir=$(mktemp -d -t salticidae-go-XXXXXXXX)
cd "$tmpdir"
curl -s https://raw.githubusercontent.com/Determinant/salticidae-go/master/scripts/build.sh -o ./build.sh