mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Use cmake-format on all cmake files
This commit is contained in:
3
.github/workflows/cmake-format.yml
vendored
3
.github/workflows/cmake-format.yml
vendored
@@ -6,7 +6,7 @@ jobs:
|
||||
cmake-format-job:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install cmakelang for cmake-format
|
||||
- name: Install cmakelang for cmake-format
|
||||
run: |
|
||||
python3 -m pip install --user cmakelang
|
||||
- uses: actions/checkout@v2
|
||||
@@ -16,6 +16,7 @@ jobs:
|
||||
|
||||
cd ApplicationLibCode
|
||||
find -name CMake*.txt | xargs ~/.local/bin/cmake-format -c ${{ github.workspace }}/cmake/cmake-format.py -i
|
||||
find -name CMake*.cmake | xargs ~/.local/bin/cmake-format -c ${{ github.workspace }}/cmake/cmake-format.py -i
|
||||
cd ..
|
||||
|
||||
cd ApplicationExeCode
|
||||
|
||||
Reference in New Issue
Block a user