You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
-
# Zippy: fast feedback for Haskell
1
+
# Zippy: A file-watching CLI for faster edit–build–run loops
2
2
3
-
Zippy is a lightweight Zig-built CLI that watches a single Haskell source file and reruns your command the moment you save. It keeps your stdout clean, logs to stderr with levels, and stays out of your way during the edit–compile–run loop.
3
+
Zippy is a lightweight Zig-built CLI that watches a file or directory and reruns your command the moment you save. It keeps your stdout clean, logs to stderr with levels, and stays out of your way during the edit–build–run loop.
4
4
5
5
## Quick start
6
6
7
7
```bash
8
8
# Run from source (Linux/Arch):
9
9
make build
10
-
zig build run -- path/to/Main.hs
10
+
zig build run -- path/to/file-or-dir
11
11
12
12
# Install it globally
13
-
make install # /usr/local on Linux | %LOCALAPPDATA%/Programs/zippy on Windows
14
-
make install PREFIX=$HOME/.local # user-local
13
+
sudo make install # /usr/local on Linux | %LOCALAPPDATA%/Programs/zippy on Windows
14
+
sudo make install PREFIX=$HOME/.local # user-local
15
15
16
16
# Run zippy!
17
-
zippy ./Main.hs
17
+
zippy ./path
18
18
```
19
19
20
20
## Configuration
@@ -25,8 +25,8 @@ Zippy loads `Zippy.json` from the current working directory:
25
25
{
26
26
"delay": 1000000,
27
27
"ignore": [],
28
-
"cmd": "stack ghc {file} && ./test"
29
-
-- OR --
28
+
"cmd": "make && ./build/out"
29
+
// OR
30
30
"cmd": "node index.js"
31
31
}
32
32
```
@@ -52,9 +52,10 @@ Generate a starter config: `zippy --generate`.
0 commit comments