Implement fallback install and outputs (#2)

* Add better version support. Restructure code. Implement OS agnostic fallback

* Support latest for cabal and stack. Add enable-stack option.

* Add outputs

* Update documentation. Change default for GHC to latest.
This commit is contained in:
Jared Weakly
2020-04-24 11:53:29 -07:00
committed by GitHub
parent c4e863e92f
commit 120f5dc3eb
19 changed files with 5359 additions and 2031 deletions

6
.lintstagedrc.js Normal file
View File

@@ -0,0 +1,6 @@
module.exports = {
'!(*test).{js,ts}': 'eslint --cache --fix',
'!(*test).ts': () => ['ncc build', 'git add dist'],
'src/**/*.ts': () => 'tsc -p tsconfig.json',
'*.{js,ts,json,md}': 'prettier --write'
};