aboutsummaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-07-06 23:23:41 -0700
committerGravatar Tom Willemse2023-07-06 23:30:24 -0700
commit239587824837021e77f78a67b4c7e3d87ed8f1dc (patch)
tree4b90f00b9fd745db1a2878ac149ad7adc75c9184 /HACKING
parent0b9f699b14670baf133b001dacf00fcb2da060d2 (diff)
downloadguile-inkplate-239587824837021e77f78a67b4c7e3d87ed8f1dc.tar.gz
guile-inkplate-239587824837021e77f78a67b4c7e3d87ed8f1dc.zip
Restructure project as suggested by running ‘hall init --convert’
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING47
1 files changed, 47 insertions, 0 deletions
diff --git a/HACKING b/HACKING
new file mode 100644
index 0000000..31a3272
--- /dev/null
+++ b/HACKING
@@ -0,0 +1,47 @@
+# -*- mode: org; coding: utf-8; -*-
+
+#+TITLE: Hacking inkplate
+
+* Contributing
+
+By far the easiest way to hack on inkplate is to develop using Guix:
+
+#+BEGIN_SRC bash
+ # Obtain the source code
+ cd /path/to/source-code
+ guix environment -l guix.scm
+ # In the new shell, run:
+ hall dist --execute && autoreconf -vif && ./configure && make check
+#+END_SRC
+
+You can now hack this project's files to your heart's content, whilst
+testing them from your `guix environment' shell.
+
+To try out any scripts in the project you can now use
+
+#+BEGIN_SRC bash
+ ./pre-inst-env scripts/${script-name}
+#+END_SRC
+
+If you'd like to tidy the project again, but retain the ability to test the
+project from the commandline, simply run:
+
+#+BEGIN_SRC bash
+ ./hall clean --skip "scripts/${script-name},pre-inst-env" --execute
+#+END_SRC
+
+** Manual Installation
+
+If you do not yet use Guix, you will have to install this project's
+dependencies manually:
+ - autoconf
+ - automake
+ - pkg-config
+ - texinfo
+ - guile-hall
+
+Once those dependencies are installed you can run:
+
+#+BEGIN_SRC bash
+ hall dist -x && autoreconf -vif && ./configure && make check
+#+END_SRC