Fix gitignores

This commit is contained in:
Luke Lau 2018-06-30 00:46:28 +01:00
parent a69a9042df
commit 687e3865f4
5 changed files with 5 additions and 8 deletions

7
.gitignore vendored
View File

@ -50,7 +50,10 @@ TAGS
cabal-dev/
cabal.sandbox.config
dist-newstyle/
dist/
dist
tags
test-logs/
.DS_Store
.DS_Store
# needed so ghc-mod can pick up the cabal cradle
# instead of the stack.yaml in the parent directory
!test/testdata/addPackageTest/*/dist/setup-config

View File

@ -153,8 +153,6 @@ codeActionSpec = do
runSessionWithConfig codeActionSupportConfig hieCommand "test/testdata/addPackageTest/hpack" $ do
doc <- openDoc "app/Asdf.hs" "haskell"
liftIO $ print doc
-- ignore the first empty hlint diagnostic publish
[_,diagsRsp] <- skipManyTill loggingNotification (count 2 notification) :: Session [PublishDiagnosticsNotification]
let (List (diag:_)) = diagsRsp ^. params . diagnostics

View File

@ -1,2 +0,0 @@
dist/*
!dist/setup-config

View File

@ -1,2 +0,0 @@
dist/*
!dist/setup-config

View File