This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cabal-version: 3.0 | |
name: frontend | |
version: 0.1 | |
build-type: Simple | |
library | |
default-language: Haskell2010 | |
default-extensions: OverloadedStrings | |
hs-source-dirs: src | |
-- XXX This requires a newer version of cabal than we have. | |
-- It would be nice to declare this so `cabal sdist` includes the files. | |
-- | |
extra-source-files: android-src/ActivityPath.hs | |
desktop-src/ActivityPath.hs | |
build-depends: base | |
, common | |
, obelisk-frontend | |
, obelisk-route | |
, jsaddle | |
, reflex | |
, reflex-dom | |
, reflex-dom-core | |
, obelisk-executable-config-lookup | |
, obelisk-generated-static | |
, text | |
, time | |
, time-compat | |
, megaparsec | |
, filepath | |
, directory | |
, containers | |
, extra >= 1.7 && <1.8 | |
if os(android) | |
build-depends: android-activity | |
hs-source-dirs: android-src | |
else | |
build-depends: xdg-basedir | |
hs-source-dirs: desktop-src | |
exposed-modules: | |
Frontend | |
Activity | |
Report | |
ActivityPath | |
ghc-options: -Wall -Wredundant-constraints -Wincomplete-uni-patterns -Wincomplete-record-updates -O -fno-show-valid-hole-fits | |
executable frontend | |
hs-source-dirs: src-bin | |
main-is: main.hs | |
default-language: Haskell2010 | |
default-extensions: OverloadedStrings | |
build-depends: base | |
, common | |
, obelisk-frontend | |
, obelisk-route | |
, reflex-dom | |
, obelisk-generated-static | |
, frontend | |
, time | |
ghc-options: -threaded -O -Wall -Wredundant-constraints -Wincomplete-uni-patterns -Wincomplete-record-updates -fno-show-valid-hole-fits | |
if impl(ghcjs) | |
ghc-options: -dedupe | |
cpp-options: -DGHCJS_BROWSER | |
if os(darwin) | |
ghc-options: -dynamic | |
test-suite unit-tests | |
type: exitcode-stdio-1.0 | |
hs-source-dirs: test | |
main-is: Spec.hs | |
default-language: Haskell2010 | |
default-extensions: OverloadedStrings | |
build-depends: base | |
, text | |
, time | |
, frontend | |
, QuickCheck | |
, hedgehog | |
, megaparsec | |
, reflex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning: frontend.cabal:13:3: Unknown field: "extra-source-files" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment