From ea7812e16af71661b83f99c84f8150139c8e5fc5 Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 6 Dec 2019 10:35:24 -0500 Subject: update readme --- README.rst | 8 +++++--- setup.sh | 2 +- 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 -- cgit v1.2.3-70-g09d2