Skip to content

Commit

Permalink
format cmake files (#975)
Browse files Browse the repository at this point in the history
* format cmake files

* update format.sh

* fix linker flags for emscripten

* update readme

* use gersemi

* actual format

* should be public instead of interface

* make test work without download

* simplification

* format
  • Loading branch information
pca006132 authored Oct 4, 2024
1 parent cc1e974 commit 658d3e0
Show file tree
Hide file tree
Showing 15 changed files with 451 additions and 308 deletions.
2 changes: 2 additions & 0 deletions .gersemirc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
line_length: 80
indent: 2
9 changes: 9 additions & 0 deletions .github/workflows/check_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,12 @@ jobs:
with:
options: "--check --verbose"
src: "./bindings/python/examples"
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- name: "gersemi cmake check"
run: |
pip3 install gersemi
./scripts/gersemi-check.sh
Loading

0 comments on commit 658d3e0

Please sign in to comment.