Skip to content

Commit

Permalink
Merge pull request #6753 from phadej/hs-source-dirs-dot-test
Browse files Browse the repository at this point in the history
Add hs-source-dirs: NL . test-case
  • Loading branch information
phadej authored May 4, 2020
2 parents f7d1b4e + e2712f5 commit b15210e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Cabal/tests/ParserTests/regressions/shake.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ flag portable

library
default-language: Haskell2010
hs-source-dirs: src
-- dot directory on own row
hs-source-dirs:
.
src
build-depends:
base >= 4.5,
directory,
Expand Down
2 changes: 1 addition & 1 deletion Cabal/tests/ParserTests/regressions/shake.expr
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ GenericPackageDescription
extraLibFlavours = [],
extraLibs = [],
frameworks = [],
hsSourceDirs = ["src"],
hsSourceDirs = [".", "src"],
includeDirs = [],
includes = [],
installIncludes = [],
Expand Down
2 changes: 1 addition & 1 deletion Cabal/tests/ParserTests/regressions/shake.format
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ library
Development.Shake.Rule
Development.Shake.Util

hs-source-dirs: src
hs-source-dirs: . src
other-modules:
Development.Ninja.Env
Development.Ninja.Lexer
Expand Down

0 comments on commit b15210e

Please sign in to comment.