Skip to content

Commit

Permalink
Fix fourmulu check (#113)
Browse files Browse the repository at this point in the history
Paths were broken after separating `clash-protocols` in 2 packages
  • Loading branch information
lmbollen authored Sep 23, 2024
1 parent 0832a42 commit c8584ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,8 @@ jobs:
with:
version: "0.14.0.0"
pattern: |
src/**/*.hs
tests/**/*.hs
!src/Protocols/Cpp.hs
**/*.hs
!clash-protocols-base/src/Protocols/Cpp.hs
linting:
name: Source code linting
Expand Down
3 changes: 2 additions & 1 deletion format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ fi

exclude_files=(
"clash-protocols-base/src/Protocols/Cpp.hs"
"dist-newstyle"
)

# Make sure it doesn't matter from where this script is executed
Expand All @@ -34,7 +35,7 @@ cd $DIR
if [ $1 == "diff" ] ; then
src_files=$(git diff --cached --name-only --diff-filter=ACMR -- '*.hs')
else
src_files=$(find clash-protocols-base/Setup.hs clash-protocols/Setup.hs clash-protocols-base/src clash-protocols/src clash-protocols/tests -type f -name "*.hs")
src_files=$(find -type f -name "*.hs")
fi

src_files_str=$(printf "%s\n" "${src_files[@]}" | sed 's| |\\ |g')
Expand Down

0 comments on commit c8584ba

Please sign in to comment.