packages feed

trigger-1.0.0.0: trigger.cabal

name:                trigger
version:             1.0.0.0
homepage:            https://github.com/rhyskeepence/trigger
license:             MIT
license-file:        LICENSE
author:              Rhys Keepence
maintainer:          rhys@rhyskeepence.com
copyright:           2017 Rhys Keepence
synopsis:            Cross platform file system watcher
description:         Trigger is a cross platform file system watcher for super fast build-and-restart workflows. When files change, it can be configured to:
                     * run build tasks
                     * restart your app in the background
category:            Build
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  README.md

library
  hs-source-dirs:      src
  build-depends:       base >= 4.7 && < 5
                     , aeson
                     , ansi-terminal
                     , clock
                     , directory
                     , exceptions
                     , filepath
                     , formatting
                     , fsnotify
                     , Glob
                     , process
                     , protolude
                     , text
                     , time
                     , twitch
                     , yaml
  ghc-options:         -Wall
  default-language:    Haskell2010
  default-extensions:  NoImplicitPrelude
  exposed-modules:     Console
                     , Parser
                     , Trigger
                     , Watcher

executable trigger
  hs-source-dirs:      main
  main-is:             Main.hs
  default-language:    Haskell2010
  default-extensions:  NoImplicitPrelude
  build-depends:       base >= 4.7 && < 5
                     , protolude
                     , trigger
  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N

test-suite trigger-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  default-language:    Haskell2010
  default-extensions:  NoImplicitPrelude
  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base >= 4.7 && < 5
                     , protolude
                     , trigger
                     , hspec
  other-modules:       ParserSpec