mirror of
https://github.com/anoma/juvix.git
synced 2024-12-13 19:49:20 +03:00
27 lines
459 B
Makefile
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
|