Skip to content

Commit

Permalink
Added stack purge integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
vanceism7 committed Nov 29, 2018
1 parent a0da854 commit f2ccde6
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/integration/tests/3863-purge-command/Main.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import StackTest
import System.Directory

main :: IO ()
main = do
stack ["build"]
stack ["purge"]
11 changes: 11 additions & 0 deletions test/integration/tests/3863-purge-command/files/new-template.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: new-template
version: 0.1.0.0
build-type: Simple
cabal-version: >=1.10


library
hs-source-dirs: src
exposed-modules: Lib
build-depends: base >= 4.7 && < 5
default-language: Haskell2010
4 changes: 4 additions & 0 deletions test/integration/tests/3863-purge-command/files/src/Lib.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module Lib where

someFunc :: ()
someFunc = ()
5 changes: 5 additions & 0 deletions test/integration/tests/3863-purge-command/files/stack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-11.22

0 comments on commit f2ccde6

Please sign in to comment.