diff --git a/examples/hello.scm b/examples/hello.scm new file mode 100644 index 0000000..883e3ee --- /dev/null +++ b/examples/hello.scm @@ -0,0 +1,13 @@ +#!/usr/bin/env sh +exec guile -s "$0" "$@" +!# + +;;; Rule that outputs "Hello from potato-make!" when called as `./hello.scm hello` + +(use-modules (potato make)) +(initialize) + +(: "hello") + (~ (display "Hello from potato-make!\n")) + +(execute)