An open API service indexing awesome lists of open source software.

https://github.com/slashmo/swiftformat-docker

🐳💅 Docker images for recent SwiftFormat versions.
https://github.com/slashmo/swiftformat-docker

docker formatting linting swift swiftformat

Last synced: 5 months ago
JSON representation

🐳💅 Docker images for recent SwiftFormat versions.

Awesome Lists containing this project

README

          

# swiftformat-docker

Docker images for recent [SwiftFormat](https://github.com/nicklockwood/SwiftFormat) versions.

## Versions

- Swift 5.1.2
- Supported SwiftFormat versions can be found [here](https://github.com/slashmo/swiftformat-docker/releases)

## Usage

##### Pull the Docker image from Docker Hub:

```bash
docker pull slashmo/swiftformat
```

##### Create a container from the image and attach the code to be formated as a volume:

```bash
docker run --rm -v "$(pwd):/app" slashmo/swiftformat
```