[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/pandoc \
|
||||||
community/shellcheck \
|
community/shellcheck \
|
||||||
community/shfmt \
|
community/shfmt \
|
||||||
|
community/stack \
|
||||||
community/stow \
|
community/stow \
|
||||||
community/tig \
|
community/tig \
|
||||||
community/udiskie \
|
community/udiskie \
|
||||||
|
@ -83,6 +84,10 @@ RUST_DEPENDENCIES := \
|
||||||
clippy \
|
clippy \
|
||||||
rustfmt \
|
rustfmt \
|
||||||
|
|
||||||
|
HASKELL_DEPENDENCIES := \
|
||||||
|
brittany \
|
||||||
|
hlint \
|
||||||
|
|
||||||
STOW_TARGET := $(HOME)
|
STOW_TARGET := $(HOME)
|
||||||
STOW = stow -t $(STOW_TARGET) -R -v
|
STOW = stow -t $(STOW_TARGET) -R -v
|
||||||
|
|
||||||
|
@ -93,7 +98,7 @@ all: install
|
||||||
.PHONY: install-cli
|
.PHONY: install-cli
|
||||||
install-cli: install-cli-deps
|
install-cli: install-cli-deps
|
||||||
install-cli: link-cli
|
install-cli: link-cli
|
||||||
install-cli: rust
|
install-cli: rust haskell
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: install-cli
|
install: install-cli
|
||||||
|
@ -156,3 +161,7 @@ unstow-tin:
|
||||||
rust:
|
rust:
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
rustup component add $(RUST_DEPENDENCIES)
|
rustup component add $(RUST_DEPENDENCIES)
|
||||||
|
|
||||||
|
.PHONY: haskell
|
||||||
|
haskell:
|
||||||
|
stack build --copy-compiler-tool $(HASKELL_DEPENDENCIES)
|
||||||
|
|
Loading…
Reference in a new issue