packages feed

trackit-0.8.1: trackit.cabal

name:                trackit
version:             0.8.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-2025 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 >= 1.0
                          -- EventM was refactored in 1.0
                      , directory
                      , filepath
                      , fsnotify
                      , Glob
                      , microlens-platform
                      , mtl
                      , optparse-generic
                      , process
                      , process-extras
                      , stm
                      , text
                      , time
                      , vty
                      , vty-crossplatform
  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