mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
modules decouple and conditional build.
This commit is contained in:
parent
28f3397723
commit
371cfa496c
@ -20,7 +20,7 @@ RUN set -eux; \
|
|||||||
#
|
#
|
||||||
# build server
|
# build server
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN go get -v -t -d . && go build -o bin/neko -i cmd/neko/main.go
|
RUN go get -v -t -d . && go build -tags browser -o bin/neko -i cmd/neko/main.go
|
||||||
|
|
||||||
#
|
#
|
||||||
# Stage 2: Runtime.
|
# Stage 2: Runtime.
|
||||||
|
2
neko.go
2
neko.go
@ -27,7 +27,7 @@ const Header = `&34
|
|||||||
/ |/ / _ \/ //_/ __ \ ) ( ')
|
/ |/ / _ \/ //_/ __ \ ) ( ')
|
||||||
/ /| / __/ ,< / /_/ / ( / )
|
/ /| / __/ ,< / /_/ / ( / )
|
||||||
/_/ |_/\___/_/|_|\____/ \(__)|
|
/_/ |_/\___/_/|_|\____/ \(__)|
|
||||||
&1&37 nurdism/neko &33%s v%s&0
|
&1&37 nurdism/m1k1o &33%s v%s&0
|
||||||
`
|
`
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user