diff options
| author | Arun Isaac | 2026-07-27 23:31:38 +0100 |
|---|---|---|
| committer | Arun Isaac | 2026-07-27 23:31:38 +0100 |
| commit | f87db2daff5cf0cde0a545bb8ac7ed0d7b051c92 (patch) | |
| tree | 4b10d50137dd180f94ec01c4aac3974616b159cd | |
| parent | 74391420fa9890d33e8d89a15c816e6378c7aaef (diff) | |
| download | domagi-f87db2daff5cf0cde0a545bb8ac7ed0d7b051c92.tar.gz domagi-f87db2daff5cf0cde0a545bb8ac7ed0d7b051c92.tar.lz domagi-f87db2daff5cf0cde0a545bb8ac7ed0d7b051c92.zip | |
Add hacking instructions.
| -rw-r--r-- | HACKING.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/HACKING.md b/HACKING.md new file mode 100644 index 0000000..d2cf884 --- /dev/null +++ b/HACKING.md @@ -0,0 +1,31 @@ +# Drop into a development environment + +The easiest way to get all the dependencies and development tools is to use `guix shell`. +``` +guix shell -L .guix -m manifest.scm +``` + +# Build the C source code + +Initialize the meson build directory. +``` +meson setup builddir +``` +Compile the C source code. Repeat this command everytime you modify the C code. +``` +meson compile -C builddir +``` + +# Run domagi + +Run domagi like so: +``` +./pre-inst-env python3 -m domagi.domagi <subcommand> ... +``` + +# Run tests + +Run tests. +``` +./pre-inst-env python3 -m pytest +``` |
