-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Makefile changes #120
base: master
Are you sure you want to change the base?
Conversation
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
@@ -30,7 +30,7 @@ type Game struct { | |||
Categories []string `json:"categories"` | |||
} | |||
|
|||
func init() { | |||
func _init() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
U1000: func _init is unused
(at-me in a reply with help
or ignore
)
@@ -30,7 +30,7 @@ type Game struct { | |||
Categories []string `json:"categories"` | |||
} | |||
|
|||
func init() { | |||
func _init() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deadcode: _init
is unused
(at-me in a reply with help
or ignore
)
Codecov Report
@@ Coverage Diff @@
## master #120 +/- ##
==========================================
- Coverage 76.90% 76.72% -0.19%
==========================================
Files 13 13
Lines 1104 1104
==========================================
- Hits 849 847 -2
- Misses 198 199 +1
- Partials 57 58 +1
Continue to review full report at Codecov.
|
|
||
fmt: | ||
$(GOFMT) ./... | ||
|
||
godoc_examples: get fmt | ||
$(GOTEST) -race -covermode=atomic ./redisearch | ||
|
||
TEST ?= Test | ||
ifeq ($(VERBOSE),1) | ||
TEST_FLAGS += -v |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should add -count=1
to TEST_FLAGS to ensure multiple calls to test do indeed trigger the tests.
@@ -60,3 +78,11 @@ godoc: | |||
echo "Open browser tab on localhost:6060" | |||
$(GODOC) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if possible can we take this chance to also add the microbenchamrks rule @rafie ?
sample one:
https://github.com/HdrHistogram/hdrhistogram-go/blob/master/Makefile#L40
No description provided.