Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Add Makefile for building all GHC variants #447

Merged
merged 1 commit into from
Jan 24, 2018
Merged

Add Makefile for building all GHC variants #447

merged 1 commit into from
Jan 24, 2018

Conversation

Tehnix
Copy link
Collaborator

@Tehnix Tehnix commented Jan 24, 2018

Following up on #439.

The Makefile makes it easy to build all the versions of HIE we have for different GHC versions.

  • It's intentionally sequenced with &&, so that ~/.local/bin/hie doesn't get overwritten by another build (can one specify specific executable paths/names? with stack?)

  • The reason for the redundant ~/.local/bin/hie-8.2 is merely that it is using the main stack.yaml, which I assume will be changed to a different GHC later on, and this will make sure we don't forget to add the 8.2 version of HIE.

  • When we add new stack.yaml's or change GHC versions in the main config, we should update this accordingly.

This is meant to go with a wrapper script that automatically chooses the right version based on the GHC version of the project—PRs for those are under way to VSCode and Atom, and I'll update the README for the other editors after this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants