packages feed

trackit-0.8: trackit.cabal

name:                trackit
version:             0.8
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 && == 1.10
                          -- EventM was refactored in 1.0
                      , directory < 1.4
                      , filepath < 1.6
                      , fsnotify < 0.5
                      , Glob < 0.11
                      , microlens-platform < 0.5
                      , mtl < 2.4
                      , optparse-generic >= 1.2 && < 1.6
                      , process < 1.7
                      , process-extras >= 0.4 && < 0.8
                      , stm < 2.6
                      , text < 2.1
                      , time < 1.13
                      , vty < 5.40
  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