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:
parent
e59933defd
commit
6918d7a62a
@ -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
|
||||
|
4
stack-oldest-supported-lts.yaml
Normal file
4
stack-oldest-supported-lts.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
resolver: lts-8.0
|
||||
packages:
|
||||
- .
|
||||
extra-deps: []
|
Loading…
Reference in New Issue
Block a user