[ADD] Haskell installation to Makefile
The `--copy-compiler-tool` flag is recommend in "An opiniated guide to Haskell in 2018".
This commit is contained in:
parent
1daa1cce96
commit
a92c3366af
11
Makefile
11
Makefile
|
@ -39,6 +39,7 @@ CLI_DEPENDENCIES := \
|
|||
community/pandoc \
|
||||
community/shellcheck \
|
||||
community/shfmt \
|
||||
community/stack \
|
||||
community/stow \
|
||||
community/tig \
|
||||
community/udiskie \
|
||||
|
@ -83,6 +84,10 @@ RUST_DEPENDENCIES := \
|
|||
clippy \
|
||||
rustfmt \
|
||||
|
||||
HASKELL_DEPENDENCIES := \
|
||||
brittany \
|
||||
hlint \
|
||||
|
||||
STOW_TARGET := $(HOME)
|
||||
STOW = stow -t $(STOW_TARGET) -R -v
|
||||
|
||||
|
@ -93,7 +98,7 @@ all: install
|
|||
.PHONY: install-cli
|
||||
install-cli: install-cli-deps
|
||||
install-cli: link-cli
|
||||
install-cli: rust
|
||||
install-cli: rust haskell
|
||||
|
||||
.PHONY: install
|
||||
install: install-cli
|
||||
|
@ -156,3 +161,7 @@ unstow-tin:
|
|||
rust:
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
rustup component add $(RUST_DEPENDENCIES)
|
||||
|
||||
.PHONY: haskell
|
||||
haskell:
|
||||
stack build --copy-compiler-tool $(HASKELL_DEPENDENCIES)
|
||||
|
|
Loading…
Reference in a new issue