24 lines
416 B
Plaintext
24 lines
416 B
Plaintext
/*
|
|
* This zplan just loads a couple tasks and then executes them
|
|
*
|
|
* It is expected to be run from the root of the project tree.
|
|
*/
|
|
|
|
task 'tasks/echo' {
|
|
msg = 'Hello from the wonderful world of zplans!'
|
|
}
|
|
|
|
task 'tasks/echo' {
|
|
msg = 'This is nice'
|
|
}
|
|
|
|
task 'tasks/shell/bash' {
|
|
script = '''
|
|
ls
|
|
touch foo
|
|
'''
|
|
|
|
// Don't run again if the foo file is present
|
|
provides = 'foo'
|
|
}
|