Carl Pearson 51affb2be2 Initial build.
2024-09-30 13:32:55 -06:00
2024-09-30 13:32:55 -06:00
2024-09-30 13:32:55 -06:00
2024-09-30 13:13:37 -06:00
2024-09-30 13:32:55 -06:00
2024-09-30 13:32:55 -06:00

cmake-format

Quick Run

cd your/source/tree
podman run --rm -v "${PWD}"/src ghcr.io/cwpearson/clang-format-16:latest clang-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

podman build -f cmake-format-0.6.13.dockerfile -t cmake-format-0.6.13:latest
podman run --rm -v "${PWD}"/src cmake-format-0.6.13:latest cmake-format ...

Deploy

  1. Create a "personal access token (classic)" with write:packages
  • account > settings > developer settings > personal access tokens
  1. Put that personal access token as the repository secret GHCR_TOKEN.
Description
No description provided
Readme GPL-3.0 50 KiB
Languages
Dockerfile 66.6%
Shell 33.4%