name:                trackit
version:             0.7.1
synopsis:            A command-line tool for live monitoring
description:         @trackit@ is a command-line tool that listens for changes
                     in a user-supplied directory. Whenever there is a change,
                     a custom command is executed and its standard output is
                     shown live in the terminal.
                     .
                     = Examples
                     .
                     Show a live listing of the files in the current directory:
                     .
                     >> trackit --watch-dir=. --command="ls --color"
                     .
                     Show a live revision graph of a Git repository:
                     .
                     >> GIT_DIR=`git rev-parse --git-dir`
                     >> trackit --watch-tree=$GIT_DIR --command="git log --graph --all --oneline --decorate --color"
                     .
                     For more information, see the
                     <https://github.com/emilaxelsson/trackit/blob/master/README.md README>.
license:             BSD3
license-file:        LICENSE
author:              Emil Axelsson
maintainer:          78emil@gmail.com
copyright:           2018-2019 Emil Axelsson
homepage:            https://github.com/emilaxelsson/trackit
bug-reports:         https://github.com/emilaxelsson/trackit/issues
category:            Development
build-type:          Simple
cabal-version:       >=1.10

extra-source-files:  README.md

source-repository head
  type:     git
  location: https://github.com/emilaxelsson/trackit.git

executable trackit
  main-is:              Main.hs
  other-modules:        Paths_trackit
                        Options
                        ParseANSI
                        TUI
  build-depends:        base <5
                      , brick >= 0.47 && < 0.61
                          -- 0.47 adds an argument to customMain
                      , fsnotify <0.4
                      , microlens-platform <0.5
                      , mtl <2.3
                      , optparse-generic >=1.2 && < 1.5
                      , process <1.7
                      , process-extras >=0.4 && <0.8
                      , stm <2.6
                      , text <1.3
                      , time < 1.12
                      , vty < 5.33
  hs-source-dirs:       src
  default-language:     Haskell2010
  default-extensions:   BangPatterns
                        DataKinds
                        DeriveGeneric
                        ExplicitNamespaces
                        FlexibleInstances
                        MultiWayIf
                        NamedFieldPuns
                        NoMonomorphismRestriction
                        OverloadedStrings
                        RecordWildCards
                        TupleSections
                        TypeOperators
                        ViewPatterns
  ghc-options:          -Wall -Wno-missing-signatures -threaded