Add Makefile for building all GHC variants

This commit is contained in:
Christian Kjaer Laustsen 2018-01-24 11:02:08 +01:00
parent 2e336042a4
commit 5370b01327

14
Makefile Normal file
View File

@ -0,0 +1,14 @@
BASEDIR=$(CURDIR)
build:
stack --stack-yaml=stack-8.0.2.yaml install \
&& cp ~/.local/bin/hie ~/.local/bin/hie-8.0.2 \
&& cp ~/.local/bin/hie ~/.local/bin/hie-8.0 \
&& stack --stack-yaml=stack-8.2.1.yaml install \
&& cp ~/.local/bin/hie ~/.local/bin/hie-8.2.1 \
&& cp ~/.local/bin/hie-8.2.1 ~/.local/bin/hie-8.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: build