modules decouple and conditional build.

This commit is contained in:
Miroslav Šedivý 2021-01-30 23:55:50 +01:00
parent 28f3397723
commit 371cfa496c
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ RUN set -eux; \
#
# build server
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.

View File

@ -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 (