Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
79bbc525
Commit
79bbc525
authored
Jan 21, 2020
by
Janos Guljas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Makefile
parent
4f17e337
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
7 deletions
+24
-7
go.yml
.github/workflows/go.yml
+5
-7
Makefile
Makefile
+19
-0
No files found.
.github/workflows/go.yml
View file @
79bbc525
...
...
@@ -41,16 +41,14 @@ jobs:
run
:
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
working-directory
:
~
-
name
:
GolangCI-
Lint
run
:
golangci-lint run
-
name
:
Lint
run
:
make lint
-
name
:
Vet
run
:
go vet -v ./...
run
:
make vet
-
name
:
Build
env
:
CGO_ENABLED
:
0
run
:
go build -ldflags "-s -w" ./...
run
:
make build
-
name
:
Test
run
:
go test -v -race ./...
run
:
make test
Makefile
0 → 100644
View file @
79bbc525
GO
?=
go
GOLANGCI_LINT
?=
golangci-lint
.PHONY
:
lint
lint
:
$(GOLANGCI_LINT)
run
.PHONY
:
vet
vet
:
$(GO)
vet ./...
.PHONY
:
test
test
:
$(GO)
test
-v
-race
./...
.PHONY
:
build
build
:
export CGO_ENABLED=0
build
:
$(GO)
build
-trimpath
-ldflags
"-s -w"
./...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment