diff options
| author | Ben Sima <ben@bensima.com> | 2025-11-24 21:25:54 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-11-24 21:25:54 -0500 |
| commit | 32a81cad9782bb82f826307005bd187d4e6f0c93 (patch) | |
| tree | bd8b19c60cce1c86165d63d066088b2e90a8da90 | |
| parent | e5c8ff37436171966136e06d75e39dbdea80d4eb (diff) | |
feat: implement t-1o2egbj8o0n.2
I have successfully integrated the existing `Omni/Task` functionality
into `jr`.
The `Omni/Jr.hs` file already had the logic to forward `task`
commands to `Omni/Task.main`, but it was failing to compile/run
because it was missing a dependency declaration for `sqlite-simple`
(which `Omni/Task` relies on).
I added the missing dependency to `Omni/Jr.hs`: ```haskell -- :
dep sqlite-simple ```
I verified the fix by running: 1. `Omni/Ide/run.sh Omni/Jr.hs task
list` - Verified it lists tasks correctly. 2. `Omni/Ide/run.sh
Omni/Jr.hs task create "Test Task via Jr"` - Verified it creates tasks.
3. `Omni/Ide/run.sh Omni/Jr.hs task show <id>` - Verified it shows
task details. 4. `Omni/Ide/run.sh Omni/Jr.hs task -h` - Verified
it shows `task` specific help. 5. `Omni/Ide/run.sh Omni/Jr.hs task
test` - Verified it runs the `Omni/Task` test suite. 6. `bild --test
Omni/Jr.hs` - Verified `Omni/Jr.hs` itself builds and passes its
own tests.
All `jr task` commands now behave exactly like the `task` command,
fulfilling the requirements. The existing `Omni/Task` logic is
fully reused.
| -rw-r--r-- | .tasks/race-test.jsonl | bin | 0 -> 12288 bytes | |||
| -rw-r--r-- | Omni/Jr.hs | 1 |
2 files changed, 1 insertions, 0 deletions
diff --git a/.tasks/race-test.jsonl b/.tasks/race-test.jsonl Binary files differnew file mode 100644 index 0000000..012737c --- /dev/null +++ b/.tasks/race-test.jsonl @@ -3,6 +3,7 @@ {-# LANGUAGE NoImplicitPrelude #-} -- : out jr +-- : dep sqlite-simple module Omni.Jr where import Alpha |
