https://github.com/herp-inc/brittany-on-docker
a docker image for brittany haskell source code formatter
https://github.com/herp-inc/brittany-on-docker
dockerfile haskell
Last synced: about 1 year ago
JSON representation
a docker image for brittany haskell source code formatter
- Host: GitHub
- URL: https://github.com/herp-inc/brittany-on-docker
- Owner: herp-inc
- License: mit
- Archived: true
- Created: 2020-01-22T13:21:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-05T23:10:41.000Z (about 5 years ago)
- Last Synced: 2025-03-22T14:02:30.070Z (over 1 year ago)
- Topics: dockerfile, haskell
- Language: Shell
- Homepage: https://hub.docker.com/r/herpinc/brittany
- Size: 28.3 KB
- Stars: 0
- Watchers: 20
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# brittany-on-docker
[](https://circleci.com/gh/herp-inc/brittany-on-docker)
[](https://microbadger.com/images/herpinc/brittany)
[](https://hub.docker.com/r/herpinc/brittany)
a docker image for [brittany](https://github.com/lspitzner/brittany/) haskell source code formatter. See [herpinc/brittany on Docker Hub](https://hub.docker.com/r/herpinc/brittany/tags) to list all available tags.
## Usage
```shell
alias brittany="docker run --rm -v $(pwd):/work herpinc/brittany:latest brittany"
```
## Build
You can use `./scripts/build.sh` to build an image locally for a specific version of brittany.
```shell
# usage: ./scripts/build.sh
./scripts/build.sh brittany:0.12.1.1 0.12.1.1
```