mirror of
https://github.com/haskell/haskell-ide-engine.git
synced 2024-09-11 11:05:30 +03:00
Add Makefile build that uses --copy-compiler-tool, along with a make icu-macos-fix for icu4c problems
This commit is contained in:
parent
725db6af3c
commit
0e93593e27
24
Makefile
24
Makefile
@ -13,7 +13,27 @@ build:
|
||||
.PHONY: build
|
||||
|
||||
hie-8.2.2:
|
||||
stack --stack-yaml=stack.yaml install \
|
||||
&& cp ~/.local/bin/hie ~/.local/bin/hie-8.2.2 \
|
||||
stack --stack-yaml=stack.yaml install \
|
||||
&& cp ~/.local/bin/hie ~/.local/bin/hie-8.2.2 \
|
||||
&& cp ~/.local/bin/hie-8.2.2 ~/.local/bin/hie-8.2
|
||||
.PHONY: hie-8.2.2
|
||||
|
||||
build-copy-compiler-tool:
|
||||
stack --stack-yaml=stack-8.0.2.yaml build --copy-compiler-tool \
|
||||
&& stack --stack-yaml=stack-8.2.1.yaml build --copy-compiler-tool \
|
||||
&& stack --stack-yaml=stack.yaml build --copy-compiler-tool
|
||||
.PHONY: build-copy-compiler-tool
|
||||
|
||||
icu-macos-fix:
|
||||
▶ brew install icu4c \
|
||||
&& stack --stack-yaml=stack-8.0.2.yaml build text-icu \
|
||||
--extra-lib-dirs=/usr/local/opt/icu4c/lib \
|
||||
--extra-include-dirs=/usr/local/opt/icu4c/include \
|
||||
&& stack --stack-yaml=stack-8.2.1.yaml build text-icu \
|
||||
--extra-lib-dirs=/usr/local/opt/icu4c/lib \
|
||||
--extra-include-dirs=/usr/local/opt/icu4c/include \
|
||||
&& stack --stack-yaml=stack.yaml build text-icu \
|
||||
--extra-lib-dirs=/usr/local/opt/icu4c/lib \
|
||||
--extra-include-dirs=/usr/local/opt/icu4c/include
|
||||
.PHONY: icu-macos-fix
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user