summaryrefslogtreecommitdiffstats
path: root/examples/packages/1/b/pkg.toml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-12-09 09:32:15 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-12-09 17:24:50 +0100
commitf53375ec115cdff6c53dbcef1a8ad36d8c23040f (patch)
treead7c9f74fa04261ff0795589c6d6b4746d0f615f /examples/packages/1/b/pkg.toml
parentec54e096a857fec587b88a6a55ffd1d6cd82d82f (diff)
Remove old examples, rename example 3 to scripts
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'examples/packages/1/b/pkg.toml')
-rw-r--r--examples/packages/1/b/pkg.toml18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/packages/1/b/pkg.toml b/examples/packages/1/b/pkg.toml
new file mode 100644
index 0000000..2ca66e2
--- /dev/null
+++ b/examples/packages/1/b/pkg.toml
@@ -0,0 +1,18 @@
+name = "b"
+version = "2"
+
+[environment]
+FOO = "bar"
+BAZ = "bla"
+
+[phases]
+package.script = '''
+ mkdir /outputs
+ echo "#BUTIDO:PHASE:package"
+ echo "#BUTIDO:PROGRESS:90"
+
+ touch /outputs/b-2.pkg
+
+ echo "#BUTIDO:PROGRESS:100"
+ echo "#BUTIDO:STATE:OK:finished"
+'''