1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-24 16:12:14 +03:00
juvix/Makefile
2021-09-26 18:59:51 +02:00

27 lines
459 B
Makefile

.PHONY : checklines
checklines :
@grep '.\{81,\}' \
--exclude-dir=src/fix-whitespace \
-l --recursive src; \
status=$$?; \
if [ $$status = 0 ] ; \
then echo "Lines were found with more than 80 characters!"; \
else echo "Succeed!"; \
fi
.PHONY : hlint
hlint :
hlint src
.PHONY : doc
doc :
cabal haddock --enable-documentation
.PHONY : build
build :
cabal build all
.PHONY : stan
stan :
stan check --include --filter-all --directory=src