Keeping up with the inside joke
Signed-off-by: Aoi K <koizumi.aoi@chaotic.ninja> git-svn-id: file:///srv/svn/repo/toyohime/trunk@111 922d331f-388e-da47-97a9-ad700dc0b8b9
This commit is contained in:
parent
72a094cf84
commit
7eea1aca21
12
Makefile
12
Makefile
@ -10,15 +10,15 @@ BUILD = `git show -s --pretty=format:%cI`
|
|||||||
GOARCH ?= amd64
|
GOARCH ?= amd64
|
||||||
GOOS ?= linux
|
GOOS ?= linux
|
||||||
|
|
||||||
all: toyohime-server
|
all: yorihime
|
||||||
|
|
||||||
toyohime-server:
|
yorihime:
|
||||||
${GO} build ${GOFLAGS} ./cmd/toyohime-server
|
${GO} build ${GOFLAGS} ./cmd/yorihime
|
||||||
clean:
|
clean:
|
||||||
rm toyohime-server
|
rm yorihime
|
||||||
install:
|
install:
|
||||||
install -m0755 toyohime-server $(PREFIX)/bin/toyohime-server
|
install -m0755 yorihime $(PREFIX)/bin/yorihime
|
||||||
test:
|
test:
|
||||||
${GO} test .
|
${GO} test .
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(PREFIX)/bin/toyohime-server
|
rm -f $(PREFIX)/bin/yorihime
|
||||||
|
@ -24,3 +24,8 @@ go get marisa.chaotic.ninja/toyohime
|
|||||||
- [GDDO Source Code Links](https://github.com/golang/gddo/wiki/Source-Code-Links)
|
- [GDDO Source Code Links](https://github.com/golang/gddo/wiki/Source-Code-Links)
|
||||||
- [Custom Import Path Checking](https://docs.google.com/document/d/1jVFkZTcYbNLaTxXD9OcGfn7vYv5hWtPx9--lTx1gPMs/edit)
|
- [Custom Import Path Checking](https://docs.google.com/document/d/1jVFkZTcYbNLaTxXD9OcGfn7vYv5hWtPx9--lTx1gPMs/edit)
|
||||||
|
|
||||||
|
## See also
|
||||||
|
* [Yorihime](cmd/yorihime/README.md)
|
||||||
|
|
||||||
|
|
||||||
|
(Both characters are from Touhou Project)
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
# vanityserver
|
# Yorihime
|
||||||
|
|
||||||
Runs a barebones vanity server over HTTP.
|
Runs a barebones vanity server over HTTP.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
./vanityserver [-index] fqdn [repo file]
|
./yorihime [-index] fqdn [repo file]
|
||||||
```
|
```
|
||||||
|
|
||||||
The "-index" flag enables an index page at "/" that lists all repos hosted on
|
The "-index" flag enables an index page at "/" that lists all repos hosted on
|
@ -3,7 +3,7 @@ Runs a barebones vanity server over HTTP.
|
|||||||
|
|
||||||
Usage
|
Usage
|
||||||
|
|
||||||
./vanityserver [-index] [-nohealthz] fqdn [repo file]
|
./yorihime [-index] [-nohealthz] fqdn [repo file]
|
||||||
|
|
||||||
The "-index" flag enables an index page at "/" that lists all repos hosted on
|
The "-index" flag enables an index page at "/" that lists all repos hosted on
|
||||||
this server.
|
this server.
|
||||||
@ -277,6 +277,7 @@ func main() {
|
|||||||
|
|
||||||
srv := buildServer(h)
|
srv := buildServer(h)
|
||||||
|
|
||||||
log.Printf("starting toyohime-server %v on port %v\n", toyohime.FullVersion(), *listenPort)
|
log.Printf("starting yorihime %v on port %v\n", toyohime.FullVersion(), *listenPort)
|
||||||
|
log.Println("gotta take care of those moon rabbits!")
|
||||||
log.Println(srv.ListenAndServe())
|
log.Println(srv.ListenAndServe())
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user