[Test] Write stack.yaml directly instead of stack init

This commit is contained in:
Nikolay Yakimov 2016-08-29 00:11:08 +03:00
parent 8352b0207c
commit 01adcff875
2 changed files with 5 additions and 1 deletions

View File

@ -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"

View File

@ -0,0 +1,4 @@
flags: {}
packages:
- '.'
extra-deps: []