packages feed

watcher-0.0.2: watcher.cabal

Name:          watcher
Version:       0.0.2
License:       MIT
License-file:  LICENSE
Category:      filesystem
Synopsis:      Opinionated filesystem watcher.
Description:   A thin opinionated wrapper around INotify. Fires
               Added/Changed/Moved/Removed events on files, and that's it.
               Watches (only files) recursively on a given directory.
               Designed for simple filesystem watchers that don't want to mess
               with INotify. Inherits all of INotify's limitations surrounding
               moved files: Events are not fired for overwritten files nor for
               files moved out of the watched directory.
Author:        Nate Soares
Maintainer:    nate@so8r.es
Build-Type:    Simple
Cabal-Version: >=1.14

Library
  default-language: Haskell2010
  build-depends:
    base >= 4 && < 5,
    containers >= 0.4,
    directory >= 1.1,
    filepath >= 1.3,
    hinotify >= 0.3.5
  exposed-modules: Watcher
  hs-source-dirs: src
  ghc-options: -Wall -rtsopts
  ghc-prof-options: -auto-all

test-suite doctests
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  ghc-options: -threaded
  main-is: doctests.hs
  hs-source-dirs: tests
  build-depends:
    base,
    containers,
    directory,
    filepath,
    hinotify