Basic functionality for play and playbook
This commit is contained in:
parent
00c5c91b11
commit
49571984c2
7 changed files with 131 additions and 60 deletions
|
@ -5,4 +5,13 @@
|
|||
#:vars '((foo . 1) (bar . "baz"))
|
||||
#:plays (list
|
||||
(play #:name "Example play"
|
||||
#:host "localhost")))
|
||||
#:host "localhost"
|
||||
#:tasks (list
|
||||
(task #:name "First task"
|
||||
#:action (const #t))
|
||||
(task #:name "Second task"
|
||||
#:action (lambda (conn)
|
||||
(trigger-handler! 'foo))))
|
||||
#:handlers (list
|
||||
(handler #:name 'foo
|
||||
#:action (const #f))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue