All checks were successful
Deploy to git.carlpearson.net / Build & Publish 0.6.13 (push) Successful in 8s
Signed-off-by: Carl Pearson <me@carlpearson.net>
19 lines
500 B
Markdown
19 lines
500 B
Markdown
# cmake-format
|
|
|
|
## Quick Run
|
|
|
|
```bash
|
|
cd your/source/tree
|
|
podman run --rm -v "${PWD}":/src git.carlpearson.net/cwpearson/cmake-format:0.6.13 cmake-format ...
|
|
```
|
|
|
|
Inside the container, the working directory is /src, we use the volume mount to map the host working directory `${PWD}` into `/src`: `-v "${PWD}"/src`.
|
|
|
|
## Building the Image Locally
|
|
|
|
```bash
|
|
podman build -f cmake-format-0.6.13.dockerfile -t cmake-format:0.6.13
|
|
podman run --rm -v "${PWD}":/src cmake-format:0.6.13 cmake-format ...
|
|
```
|
|
|