Sha256: 2fe2e763434e4a7b88a57375671ebf64fc9b4d9989480be1250c11f2a529afaa

Contents?: true

Size: 437 Bytes

Versions: 6

Compression:

Stored size: 437 Bytes

Contents

# -*- mode: org; mode: auto-fill; -*-
#+TITLE:	Runlist example
#+runmode:	sequential

In this example, we will have scripts being chained one after another.

#+name: first
#+begin_src sh :shebang #!/bin/bash
sleep 5
echo "first" > out.log
#+end_src

The script below will only be called once the one above is run.

#+name: second
#+begin_src ruby :shebang #!/usr/local/bin/ruby
File.open("out.log", 'a') {|f| f.puts "second" }
#+end_src

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
org-converge-0.0.11 spec/converge_examples/runlist_example/setup.org
org-converge-0.0.9 spec/converge_examples/runlist_example/setup.org
org-converge-0.0.8 spec/converge_examples/runlist_example/setup.org
org-converge-0.0.7 spec/converge_examples/runlist_example/setup.org
org-converge-0.0.6 spec/converge_examples/runlist_example/setup.org
org-converge-0.0.5 spec/converge_examples/runlist_example/setup.org