diff options
author | Fredrik Salomonsson <plattfot@gmail.com> | 2020-06-12 17:57:51 -0700 |
---|---|---|
committer | Fredrik Salomonsson <plattfot@gmail.com> | 2020-06-12 19:01:05 -0700 |
commit | 21321a4b3d22585ab65b134c82b3607448a76910 (patch) | |
tree | ebcdc50444b6291071682e8b726186a7e28ece30 /HACKING | |
parent | e9c0fa906ecc09b814f88c7ab7d6412fefcb2dcd (diff) | |
download | pinentry-rofi-21321a4b3d22585ab65b134c82b3607448a76910.tar.gz |
Using Hall to handle the project
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 47 |
1 files changed, 47 insertions, 0 deletions
@@ -0,0 +1,47 @@ +-*- mode: org; coding: utf-8; -*- + +#+TITLE: Hacking pinentry-rofi + +* Contributing + +By far the easiest way to hack on pinentry-rofi 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 |