static files embedded now #13

Manually merged
sneak merged 5 commits from static into master 2020-10-29 13:53:24 +00:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 885a43709e - Show all commits

View File

@ -20,7 +20,7 @@ RUN go mod download
COPY ./ ./ COPY ./ ./
#RUN make lint #RUN make lint
RUN make httpd RUN make rice-install && make httpd
RUN go mod vendor RUN go mod vendor
RUN tar -c . | bzip2 > /src.tbz2 RUN tar -c . | bzip2 > /src.tbz2

View File

@ -48,7 +48,9 @@ docker:
cd ../.. && \ cd ../.. && \
rice append -i ./httpserver --exec ./httpd rice append -i ./httpserver --exec ./httpd
tools: tools: rice-install
go get -v github.com/golangci/golangci-lint/cmd/golangci-lint@v1.31.0 go get -v github.com/golangci/golangci-lint/cmd/golangci-lint@v1.31.0
go get -v mvdan.cc/gofumpt/gofumports go get -v mvdan.cc/gofumpt/gofumports
rice-install:
go get -v github.com/GeertJohan/go.rice/rice go get -v github.com/GeertJohan/go.rice/rice