Commit Graph

3 Commits

Author SHA1 Message Date
Sebastian Crane 428c9318fd Set default test runner function for :test alias
This commit sets in deps.edn the default main function to be run when
using the :test alias, making the command to run tests shorter, and
documents this shorter command in README.md.

Signed-off-by: Sebastian Crane <seabass-labrax@gmx.com>
2022-04-02 18:35:04 +01:00
Sebastian Crane 0abd793fe7 Use a Var instead of an Atom for system state
The Atom's swap! function may run its provided function multiple
times. Because of this, using an Atom for the system state can
occasionally result in duplicate TCP connections being opened when the
system is started. These connections remain open until they
timeout (this is typically 5 minutes for IRC).

This commit changes the container for the system state from an Atom to a
Var, whose alter-var-root function (analogous to swap!) does not have
this issue.

Signed-off-by: Sebastian Crane <seabass-labrax@gmx.com>
2022-03-22 22:47:00 +00:00
Sebastian Crane 9a5f7df7a4 Add README.md
Signed-off-by: Sebastian Crane <seabass-labrax@gmx.com>
2022-02-28 17:38:35 +00:00