add some scripts

This commit is contained in:
Christine Dodrill 2015-07-31 01:19:50 -07:00
parent 5f2afa7949
commit 3f75f05264
5 changed files with 47 additions and 1 deletions

View File

@ -1,4 +1,28 @@
stevenbooru
===========
The code for stevenbooru
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
```

5
build.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
source ./env.sh
go build stevenbooru.cf/cmd/...

1
env.sh Normal file
View File

@ -0,0 +1 @@
export GOPATH="$(pwd):$(pwd)/vendor"

5
test.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
source ./env.sh
gt stevenbooru.cf/...

11
vendor/manifest vendored Normal file
View File

@ -0,0 +1,11 @@
{
"version": 0,
"dependencies": [
{
"importpath": "github.com/codegangsta/negroni",
"repository": "https://github.com/codegangsta/negroni",
"revision": "c7477ad8e330bef55bf1ebe300cf8aa67c492d1b",
"branch": "master"
}
]
}