-
Notifications
You must be signed in to change notification settings - Fork 21
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
Spring cleaning #229
Spring cleaning #229
Conversation
@@ -153,5 +153,5 @@ jobs: | |||
with: | |||
context: docker | |||
file: docker/Dockerfile | |||
tags: taylorfausak/rattletrap:version-${{ github.event.release.tag_name }} | |||
tags: taylorfausak/rattletrap:${{ github.event.release.tag_name }} |
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 should be communicated in the change log.
@@ -10,3 +10,48 @@ | |||
- ignore: { name: Use <|> } | |||
- ignore: { name: Use lambda-case } | |||
- ignore: { name: Use <$> } | |||
- modules: |
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.
I would like to start with allowing nothing and then selectively adding things, but doing that is blocked by ndmitchell/hlint#1221. It would be really tedious to do without name: Rattletrap*
.
@@ -2,3 +2,4 @@ FROM ubuntu:20.04 | |||
RUN apt-get update && apt-get install --assume-yes ca-certificates | |||
COPY rattletrap /usr/local/bin | |||
RUN chmod +x /usr/local/bin/rattletrap | |||
ENTRYPOINT ["rattletrap"] |
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 should also be communicated in the change log.
case Config.output config of | ||
Nothing -> LazyByteString.putStr json | ||
Just file -> LazyByteString.writeFile file json | ||
schemaMain config = putOutput config $ encodeJson config schema |
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.
As a result of this change, you can generate a compact schema with rattletrap --schema --compact
.
Just some little things that didn't really fit anywhere else.