diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2024-01-29 12:05:01 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2024-01-29 12:05:01 +0200 |
| commit | 86c49fea3e615f9b67b646417ad3786fd0dde2c0 (patch) | |
| tree | 79c1589473a389d349568ebfb3b73824f94b3ff2 /README.md | |
| parent | 092a811a554b0978e94f6c56d4ed2ace3d0bc519 (diff) | |
Add Makefile, remove build.sh
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 27 |
1 files changed, 11 insertions, 16 deletions
@@ -6,25 +6,16 @@ A tool for controlling a desmofylakas cluster written in Chicken Scheme. Install [Chicken Scheme](https://wiki.call-cc.org/platforms). -Install dependencies: - - chicken-install -from-list requirements.list - -In addition to Chicken dependencies, you need to have these available in PATH: +You also need to have these available in PATH: tar + make -## Building and running - -Run the tool in the interpreter: - - # Set DEBUG=1 to show debug prints - # Set INLINE_TESTS=1 to run unit tests before execution - csi -s run.scm - -Compile a statically linked binary for production: +Install dependencies, build and install to your preferred location: - ./build.sh + make deps + make + PREFIX=$HOME/.local/bin/ make install ## Usage @@ -32,7 +23,11 @@ See `desmoctl help`. ## Development -When adding new modules, add the module names to `modules.list`. The defined module name must match the filename. +Run the tool in the interpreter: + + # Set DEBUG=1 to show debug prints + # Set INLINE_TESTS=1 to run unit tests before execution + csi -s run.scm ## Copyright |
