pman/examples/hello.scm
Jacob Hrbek cc9277be47
examples/hello: Update the example
Signed-off-by: Jacob Hrbek <kreyren@rixotstudio.cz>
2022-08-28 06:52:59 +02:00

15 lines
255 B
Scheme
Executable File

#!/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" '()
(lambda ()
(display "Hello from potato-make!\n")))
(execute)