Skip to content
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

Merged
merged 13 commits into from
Mar 13, 2021
Merged

Spring cleaning #229

merged 13 commits into from
Mar 13, 2021

Conversation

tfausak
Copy link
Owner

@tfausak tfausak commented Mar 13, 2021

Just some little things that didn't really fit anywhere else.

@@ -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 }}
Copy link
Owner Author

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:
Copy link
Owner Author

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"]
Copy link
Owner Author

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
Copy link
Owner Author

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.

@tfausak tfausak enabled auto-merge March 13, 2021 15:22
@tfausak tfausak merged commit 6584fac into main Mar 13, 2021
@tfausak tfausak deleted the spring-cleaning branch March 13, 2021 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant