aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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