Merge pull request #6 from Kreyren/patch-6
examples/hello: Add new example
This commit is contained in:
commit
40dce673d6
13
examples/hello.scm
Normal file
13
examples/hello.scm
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user