shayne-fletcher / ghc-lib-parser-ex

GHC API parse tree utilities
Other
10 stars 4 forks source link

Fix a mistake in cbits and add section to README for hlint #8

Closed shayne-fletcher closed 4 years ago

shayne-fletcher commented 4 years ago

This is a good pre-push commit hook:

#!/bin/bash

for api in GHCLIB_API_808 GHCLIB_API_810 GHCLIB_API_811
do
  stack exec hlint -- --cpp-include cbits --cpp-define $api .
done

stack exec weeder -- . --build