cheogram-smtp
created pr with
cheogram-smtp/ignore-empty.1
changed pr name to
Do not send empty emails for empty messages
cmds
checkout latest patchset:
ssh pr.pico.sh pull cheogram-smtp:ignore-empty | git am -3checkout specific patchset revision:
ssh pr.pico.sh pull cheogram-smtp:ignore-empty [rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh cheogram-smtp:ignore-emptyadd comment to patch request:
ssh pr.pico.sh comment cheogram-smtp:ignore-empty "lgtm!"
Patchset
cheogram-smtp/ignore-empty.1
Update version bounds for newer ghc
Stephen Paul Weber
hlint clean
2026-10-21T14:19:52ZStephen Paul Weber
→ make test
2026-10-21T14:43:14ZStephen Paul Weber
This never fails
2026-10-21T14:43:29ZStephen Paul Weber
Do not send empty emails for empty messages
2026-10-21T14:43:41ZStephen Paul Weber
2026-10-21T15:05:03Z
make test
Stephen Paul Weber
2026-10-21T14:43:29ZSemantic diff summary
0 added,
0 modified,
0 signature changed,
0 removed
across 0 analyzed files
(1 file skipped: unsupported file type)
+7
-1
Makefile
#
| ... | ... | @@ -1,7 +1,7 @@ | |
| 1 | 1 | GHCFLAGS=-Wall -Wno-tabs -Wno-orphans -Wno-name-shadowing -XHaskell2010 -O -threaded | |
| 2 | 2 | HLINTFLAGS=-XHaskell2010 -XCPP -i 'Use camelCase' -i 'Use String' -i 'Use head' -i 'Use string literal' -i 'Use list comprehension' | |
| 3 | 3 | ||
| 4 | - | .PHONY: all shell clean | |
| 4 | + | .PHONY: all shell clean test | |
| 5 | 5 | ||
| 6 | 6 | all: report.html gateway incoming-email incoming-mms | |
| 7 | 7 |
| ... | ... | @@ -14,6 +14,12 @@ incoming-email: Email.hs IQManager.hs Util.hs VCard.hs incoming-email.hs | |
| 14 | 14 | incoming-mms: Email.hs IQManager.hs Util.hs MMS.hs incoming-mms.hs | |
| 15 | 15 | ghc -dynamic -o incoming-mms $(GHCFLAGS) incoming-mms.hs | |
| 16 | 16 | ||
| 17 | + | test/Driver: Email.hs IQManager.hs Util.hs MMS.hs test/Driver.hs test/EmailTest.hs test/IQManagerTest.hs test/TestInstances.hs test/UtilTest.hs test/VCardTest.hs | |
| 18 | + | ghc -dynamic -itest -o test/Driver $(GHCFLAGS) test/Driver.hs | |
| 19 | + | ||
| 20 | + | test: test/Driver | |
| 21 | + | test/Driver | |
| 22 | + | ||
| 17 | 23 | report.html: Email.hs IQManager.hs Router.hs Util.hs VCard.hs MMS.hs gateway.hs incoming-email.hs incoming-mms.hs | |
| 18 | 24 | -hlint $(HLINTFLAGS) --report $^ | |
| 19 | 25 |