1
mirror of https://github.com/jlelse/GoBlog synced 2024-06-02 01:34:30 +00:00

Provide templates for tests

This commit is contained in:
Jan-Lukas Else 2021-06-19 08:41:21 +02:00
parent f7d3138c24
commit 4bbb1a29b1

View File

@ -6,6 +6,7 @@ ENV GOFLAGS="-tags=linux,libsqlite3,sqlite_fts5"
ADD *.go go.mod go.sum /app/ ADD *.go go.mod go.sum /app/
ADD pkgs/ /app/pkgs/ ADD pkgs/ /app/pkgs/
ADD testdata/ /app/testdata/ ADD testdata/ /app/testdata/
Add templates/ /app/templates/
RUN go test -cover ./... RUN go test -cover ./...
RUN go build -ldflags '-w -s' -o GoBlog RUN go build -ldflags '-w -s' -o GoBlog