add some scripts
This commit is contained in:
parent
5f2afa7949
commit
3f75f05264
26
README.md
26
README.md
|
@ -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
|
||||
```
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
source ./env.sh
|
||||
|
||||
go build stevenbooru.cf/cmd/...
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
source ./env.sh
|
||||
|
||||
gt stevenbooru.cf/...
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"version": 0,
|
||||
"dependencies": [
|
||||
{
|
||||
"importpath": "github.com/codegangsta/negroni",
|
||||
"repository": "https://github.com/codegangsta/negroni",
|
||||
"revision": "c7477ad8e330bef55bf1ebe300cf8aa67c492d1b",
|
||||
"branch": "master"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue