added lint function to Makefile
This commit is contained in:
parent
975077953b
commit
b870b3c545
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
|
@ -1,7 +1,7 @@
|
||||||
# This really ought to be `/usr/bin/env bash`, but nix flakes don't like that.
|
# This really ought to be `/usr/bin/env bash`, but nix flakes don't like that.
|
||||||
SHELL := /bin/sh
|
SHELL := /bin/sh
|
||||||
|
|
||||||
.PHONY: hoogle format haddock usage
|
.PHONY: hoogle format haddock usage lint
|
||||||
|
|
||||||
usage:
|
usage:
|
||||||
@echo "usage: make <command> [OPTIONS]"
|
@echo "usage: make <command> [OPTIONS]"
|
||||||
|
|
@ -40,3 +40,5 @@ haddock:
|
||||||
tag:
|
tag:
|
||||||
hasktags -x agora agora-bench agora-test
|
hasktags -x agora agora-bench agora-test
|
||||||
|
|
||||||
|
lint:
|
||||||
|
hlint agora agora-bench agora-test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue