-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Update README and add help target to make #363
Conversation
Codecov Report
@@ Coverage Diff @@
## master #363 +/- ##
=========================================
- Coverage 46.15% 45.45% -0.7%
=========================================
Files 193 193
Lines 16069 16057 -12
=========================================
- Hits 7416 7299 -117
- Misses 8267 8380 +113
+ Partials 386 378 -8 |
We don't include all the available tasks in the Maybe shellcheck could be added to lint ( We could also add a |
Perhaps we can add a |
I like the idea @thaJeztah 👍 |
I gave it a go. @dnephin I'm not sure about the wording for the |
README.md
Outdated
|
||
``` | ||
$ make -f docker.Makefile lint | ||
$ make -f docker.Makefile lint shellcheck |
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 can mention the help
make target in the readme (to see a list of all make options, type make ......help)
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.
Why didn't think about that? 😅 It makes more sense. Thanks.
1705ae7
to
24ae347
Compare
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, just a couple comments
README.md
Outdated
@@ -23,12 +23,18 @@ Build binaries for all supported platforms: | |||
$ make -f docker.Makefile cross | |||
``` | |||
|
|||
Run all linting: | |||
Run all linting and shellcheck validation: |
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.
this comment doesn't match the code example anymore
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.
Oops :)
Makefile
Outdated
.PHONY: test | ||
test: | ||
test: ## run go test (the "-tags daemon" part is temporary) |
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.
The note about -tags daemon
is more for the reading of the file, not someone running tasks, can we remove that bit?
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.
Ok
Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
24ae347
to
649a586
Compare
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.
LGTM
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.
LGTM, thanks!
Small update to include shellcheck in the README
Signed-off-by: Jean-Pierre Huynh jean-pierre.huynh@ounet.fr