Skip to content

Commit 45cc6b7

Browse files
committed
Reproducing test case for #365
1 parent 221602b commit 45cc6b7

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import StackTest
2+
3+
main :: IO ()
4+
main = do
5+
stackErr ["build"]
6+
stackErr ["build"]
7+
writeFile "app/Foo.hs" "module Foo where"
8+
stack ["build"]
9+
writeFile "app/Foo.hs" "module Foo wher e"
10+
stackErr ["build"]
11+
stackErr ["build"]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import Foo
2+
3+
main :: IO ()
4+
main = return ()
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: new-template
2+
version: 0.1.0.0
3+
build-type: Simple
4+
cabal-version: >=1.10
5+
6+
executable new-template-exe
7+
hs-source-dirs: app
8+
main-is: Main.hs
9+
ghc-options: -threaded -rtsopts -with-rtsopts=-N
10+
build-depends: base
11+
default-language: Haskell2010
12+
other-modules: Foo
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
flags: {}
2+
packages:
3+
- '.'
4+
extra-deps: []
5+
resolver: lts-2.15

0 commit comments

Comments
 (0)