]> git.giacomolli.uk - onechat/blob - README.rst
Add Nix-built Go program and agent rules
[onechat] / README.rst
1 #########
2  OneChat
3 #########
4
5 OneChat is a Go program. It prints its name. It is in early development.
6 Linux is supported.
7
8 *************
9  Development
10 *************
11
12 Nix supplies the Go toolchain and all tools. Enter the development shell
13 with direnv:
14
15 .. code:: console
16
17    direnv allow
18
19 Or enter it directly:
20
21 .. code:: console
22
23    nix develop
24
25 Build and run:
26
27 .. code:: console
28
29    nix build
30    ./result/bin/onechat
31
32 Format and check all files:
33
34 .. code:: console
35
36    bin/format
37    bin/check
38    nix flake check