diff --git a/README.md b/README.md index 419e078..770e8c9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,28 @@ stevenbooru =========== -The code for stevenbooru \ No newline at end of file +The code for stevenbooru + +build +----- + +```console +$ gb build all +``` + +or + +```console +$ source ./env.sh +$ go get stevenbooru.cf/cmd/... +``` + +test +---- + +This uses [`gt`](https://godoc.org/rsc.io/gt). + +```console +$ go get rsc.io/gt +$ ./test.sh +``` diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..daa68e9 --- /dev/null +++ b/build.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +source ./env.sh + +go build stevenbooru.cf/cmd/... diff --git a/env.sh b/env.sh new file mode 100644 index 0000000..ba849ae --- /dev/null +++ b/env.sh @@ -0,0 +1 @@ +export GOPATH="$(pwd):$(pwd)/vendor" diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..8e192bd --- /dev/null +++ b/test.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +source ./env.sh + +gt stevenbooru.cf/... diff --git a/vendor/manifest b/vendor/manifest new file mode 100644 index 0000000..33269ca --- /dev/null +++ b/vendor/manifest @@ -0,0 +1,11 @@ +{ + "version": 0, + "dependencies": [ + { + "importpath": "github.com/codegangsta/negroni", + "repository": "https://github.com/codegangsta/negroni", + "revision": "c7477ad8e330bef55bf1ebe300cf8aa67c492d1b", + "branch": "master" + } + ] +} \ No newline at end of file