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
Executable
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")/.."
echo "Formatting with fourmolu..."
./hs fourmolu --mode inplace app/ src/ test/
./hs stack build --copy-bins --local-bin-path /work/build
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")/.."
INSTALL_DIR="${INSTALL_DIR:-$HOME/.local/bin}"
mkdir -p "${INSTALL_DIR}"
./hs stack build --copy-bins --local-bin-path /work/bin
cp ./bin/converge "${INSTALL_DIR}/converge"
echo "Installed converge to ${INSTALL_DIR}/converge"
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")/.."
./hs stack run converge -- "$@"
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")/.."
./hs stack test