Closed shayne-fletcher closed 4 years ago
This is a good pre-push commit hook:
pre-push
#!/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
This is a good
pre-push
commit hook: