-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
561: Add makefile and badges for readme r=curquiza a=Ja7ad ## What does this PR do? - This PR add codecov and go reference badge in readme and add makefile for easyjson and test. ## PR checklist Please check if your PR fulfills the following requirements: - [ ] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Javad <[email protected]> Co-authored-by: Javad Rajabzadeh <[email protected]>
- Loading branch information
Showing
3 changed files
with
28 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.PHONY: test easyjson requirements | ||
|
||
easyjson: | ||
easyjson -all types.go | ||
|
||
test: | ||
docker compose run --rm package bash -c "go get && golangci-lint run -v && go test -v" | ||
|
||
requirements: | ||
go get github.com/mailru/easyjson && go install github.com/mailru/easyjson/...@latest | ||
curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh | ||
go get -v -t ./... |