#+TITLE: Simple tangle example
#+runmode: sequential
It does not get more simple than this:
First, configure something:
#+begin_src conf :tangle /tmp/my-conf
type file
path /var/tmp/a.log
#+end_src
Then run something:
#+name: first_run
#+begin_src sh
echo "1) Hello world" > /tmp/my-echo
echo "2) Hello world" > /tmp/my-echo
echo "3) Hello world" > /tmp/my-echo
#+end_src
Then configure something again:
#+name: second_run
#+begin_src sh
echo "4) Hello world" >> /tmp/my-echo
echo "5) Hello world" >> /tmp/my-echo
echo "6) Hello world" >> /tmp/my-echo
echo "7) Hello world" >> /tmp/my-echo
#+end_src
And send something to babel once again:
#+begin_src conf :tangle /tmp/hello-conf.yml
status_port: 9090
no_tab_after_that: true
#+end_src