Add test cases that reproduce #7241.
[cabal.git] / cabal-testsuite / PackageTests / JS / JsSources / jssources.cabal
blob4595a6cfc2be65c03f8faa0cf805c8f790f00857
1 cabal-version: 3.0
2 name: jssources
3 version: 0
4 build-type: Simple
6 library
7   default-language: Haskell2010
8   js-sources: jsbits/lib.js
9   if arch(JavaScript)
10     hs-source-dirs: srcJS
11   else
12     hs-source-dirs: src
13   exposed-modules: Lib
14   build-depends: base
16 executable demo
17   default-language: Haskell2010
18   main-is: Main.hs
19   hs-source-dirs: demo
20   build-depends: base, jssources