-
Notifications
You must be signed in to change notification settings - Fork 11
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
Collapse code into a single main package. #17
Conversation
We have been maintaining a main package, a nitriding package, and a randseed package. All these packages are a relic of the past. This commit moves all code to the root directory, so we only have to maintain a single main package. This has the added benefit of no longer needing the "cmd" suffix when installing nitriding, i.e., users can now run: go install github.com/brave/nitriding-daemon@latest This PR fixes #12.
This target results in an HTML file that nicely illustrates what lines of code are covered by our tests.
This is unrelated to the rest of this PR but it makes the code more consistent.
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.
Thanks for fixing!
.PHONY: coverage | ||
coverage: $(cover_html) | ||
${BROWSER} $(cover_html) |
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.
Is it possible to add this to the ci feedback? I find "coverage went up/down" messages are usually too noisy, but it can be nice to have the report available through the github interface.
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.
That sounds useful but I have no cycles to work on this, so I suggest working on this in a separate issue.
Please see the respective commit messages for what this PR does.