[Test] Write stack.yaml directly instead of `stack init`
This commit is contained in:
parent
8352b0207c
commit
01adcff875
|
@ -45,7 +45,7 @@ main = do
|
|||
"" -> "0"
|
||||
x -> x
|
||||
in major ++ "." ++ minor
|
||||
void $ system $ "stack init --force --resolver=ghc-" ++ ghcver
|
||||
void $ system $ "sed '$ a resolver: ghc-" ++ ghcver ++ "' stack.yaml.in > stack.yaml"
|
||||
void $ system "stack setup"
|
||||
void $ system "stack build"
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
flags: {}
|
||||
packages:
|
||||
- '.'
|
||||
extra-deps: []
|
Loading…
Reference in New Issue