Initial commit: converge - auto-sync git repo watcher

This commit is contained in:
2026-05-11 09:40:25 -04:00
commit bf3329e5ce
12 changed files with 393 additions and 0 deletions
+65
View File
@@ -0,0 +1,65 @@
name: converge
version: 0.1.0.0
synopsis: Auto-sync a git repository by watching for changes, committing, and pulling
description: |
Converge watches a git repository for file changes, automatically
commits them, and pulls from the remote. It notifies the user via
libnotify/notify-send when merge conflicts arise.
author: James Brechtel
maintainer: james@flipstone.com
copyright: 2026 James Brechtel
license: BSD-3-Clause
default-extensions:
- OverloadedStrings
- RecordWildCards
- ScopedTypeVariables
- TupleSections
ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-export-lists
- -Wmissing-home-modules
- -Wpartial-fields
- -Wredundant-constraints
dependencies:
- base >= 4.7 && < 5
- directory
- filepath
- fsnotify
- optparse-applicative
- process
- text
- time
- unix
library:
source-dirs: src
executables:
converge:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- converge
tests:
converge-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- converge
- hspec