HACKING 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # -*- mode: org; coding: utf-8; -*-
  2. #+TITLE: Hacking prescheme
  3. * Contributing
  4. By far the easiest way to hack on prescheme is to develop using Guix:
  5. #+BEGIN_SRC bash
  6. # Obtain the source code
  7. cd /path/to/source-code
  8. guix environment -l guix.scm
  9. # In the new shell, run:
  10. hall dist --execute && autoreconf -vif && ./configure && make check
  11. #+END_SRC
  12. You can now hack this project's files to your heart's content, whilst
  13. testing them from your `guix environment' shell.
  14. To try out any scripts in the project you can now use
  15. #+BEGIN_SRC bash
  16. ./pre-inst-env scripts/${script-name}
  17. #+END_SRC
  18. If you'd like to tidy the project again, but retain the ability to test the
  19. project from the commandline, simply run:
  20. #+BEGIN_SRC bash
  21. ./hall clean --skip "scripts/${script-name},pre-inst-env" --execute
  22. #+END_SRC
  23. ** Manual Installation
  24. If you do not yet use Guix, you will have to install this project's
  25. dependencies manually:
  26. - autoconf
  27. - automake
  28. - pkg-config
  29. - texinfo
  30. - guile-hall
  31. Once those dependencies are installed you can run:
  32. #+BEGIN_SRC bash
  33. hall dist -x && autoreconf -vif && ./configure && make check
  34. #+END_SRC