examples/hello: Add new example
Hello, potato-make~
This commit is contained in:
parent
8aeef1d8eb
commit
5500c9890a
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