Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 month 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
- Created: 2020-01-22T13:21:47.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-05T23:10:41.000Z (over 3 years ago)
- Last Synced: 2023-03-02T05:41:39.255Z (almost 2 years ago)
- Topics: dockerfile, haskell
- Language: Shell
- Homepage: https://hub.docker.com/r/herpinc/brittany
- Size: 28.3 KB
- Stars: 0
- Watchers: 21
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# brittany-on-docker
[![CircleCI](https://circleci.com/gh/herp-inc/brittany-on-docker.svg?style=svg)](https://circleci.com/gh/herp-inc/brittany-on-docker)
[![MicroBadger](https://images.microbadger.com/badges/image/herpinc/brittany.svg)](https://microbadger.com/images/herpinc/brittany)
[![Docker Pulls](https://img.shields.io/docker/pulls/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
```