1
1
mirror of https://github.com/gelisam/hawk.git synced 2024-12-03 03:53:58 +03:00

store the oldest supported lts in a separate file, fixes #218

this way, bumping the version bounds will be less error-prone: instead
of changing stack.yaml's lts to the lowest-supported lts, running
bump-lower-bounds.vim to bump the lower bounds, and then hopefully not
forgetting to revert stack.yaml's lts to the highest-supported lts, I
can bump stack-oldest-supported-lts.yaml's lts and then run
bump-lower-bounds.vim, with no extra easy-to-forget step.
This commit is contained in:
Samuel Gélineau 2020-04-19 15:23:02 -04:00
parent e59933defd
commit 6918d7a62a
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
"for future reference, here is a vim macro which, when the cursos is on a line like
"for future reference, here is a vim macro which, when the cursor is on a line like
"
" - haskell-src-exts >= 1.0
"
"will update the lower bound to match the version used by the current lts.
0dwdwEld$A '^isa€kbtack ls dependencies --test | grep '^V:!bash Wi>= 0i - j
0dwdwEld$A '^istack --stack-yaml=stack-oldest-supported-lts.yaml ls dependencies --test | grep '^V:!bash Wi>= 0i - j

View File

@ -0,0 +1,4 @@
resolver: lts-8.0
packages:
- .
extra-deps: []