Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 6 additions & 47 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,48 +1,7 @@
*~
.fuse_hidden*
.directory
.Trash-*
.nfs*
/public/
/resources/_gen/
hugo.exe
hugo.darwin
hugo.linux
*.exe
*.exe~
*.dll
*.so
*.dylib
*.test
*.out
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.stackdump
[Dd]esktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk
.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
/docs
/docs
*.md
.git*
.idea/
.golangci.yml
coverage.out
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM golang:1.18beta1-alpine

ENV CGO_ENABLED 0
RUN apk update --no-cache

WORKDIR /lib

COPY go.* ./
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TEST = "CGO_ENABLED=0 go test ./... -coverpkg=./... -coverprofile coverage.txt -covermode=atomic; go tool cover -func coverage.txt"
TEST = "go test ./... -coverpkg=./... -coverprofile coverage.out -covermode=atomic; go tool cover -func coverage.out; rm coverage.out"

build:
docker build . -t underscore:latest
Expand Down