Skip to content

Commit

Permalink
--local-util
Browse files Browse the repository at this point in the history
  • Loading branch information
teodanciu committed Oct 19, 2023
1 parent abacd02 commit ebeda26
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
10 changes: 10 additions & 0 deletions s
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/run/current-system/sw/bin/bash
for x in $(git ls-tree --full-tree --name-only -r HEAD cardano-api); do
if [ "${x##*.}" == "hs" ]; then
if grep -qE '^#' $x; then
echo "$x contains CPP. Skipping."
else
stylish-haskell -i $x
fi
fi
done

0 comments on commit ebeda26

Please sign in to comment.