Skip to content

Commit 6073f7e

Browse files
committedDec 12, 2020
Update build environments
1 parent d61be68 commit 6073f7e

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed
 

‎.gitignore

+22-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,22 @@
1-
*.ps1
1+
### Go ###
2+
# Binaries for programs and plugins
3+
*.exe
4+
*.exe~
5+
*.dll
6+
*.so
7+
*.dylib
8+
9+
# Test binary, built with `go test -c`
10+
*.test
11+
12+
# Output of the go coverage tool, specifically when used with LiteIDE
13+
*.out
14+
15+
# Dependency directories (remove the comment below to include it)
16+
# vendor/
17+
18+
### Go Patch ###
19+
/vendor/
20+
/Godeps/
21+
22+
# End of https://www.toptal.com/developers/gitignore/api/go

‎Makefile

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
test:
2+
go test -v
3+
build:
4+
go build ...
5+
run:
6+
go run server.go router.go
7+
fmt:
8+
goimports -w .
9+
lint:
10+
go vet
11+
setup:
12+
go get -u github.org/x/tools/cmd/goimports
13+
go get -u github.org/x/lint/golint

0 commit comments

Comments
 (0)