diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2021-06-27 15:27:05 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2021-06-28 14:39:52 -0400 |
commit | 4e84f496adb538db3d3fc75134d6e05086332bf9 (patch) | |
tree | fab98dc3b98839a6a3457bd340074e96a5d2f094 /org/spine.org | |
parent | nix-build cleanup, external sources localized (diff) |
org-mode code block headers
Diffstat (limited to 'org/spine.org')
-rw-r--r-- | org/spine.org | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/org/spine.org b/org/spine.org index 1ede22e..aa928b0 100644 --- a/org/spine.org +++ b/org/spine.org @@ -14,6 +14,7 @@ #+PROPERTY: header-args+ :results no #+PROPERTY: header-args+ :cache no #+PROPERTY: header-args+ :padline no +#+PROPERTY: header-args+ :mkdirp yes [[./spine_info.org][spine_info.org]] [[./][org/]] [[./spine_build_scaffold.org][make/build]] VERSION @@ -21,7 +22,8 @@ * 0. version.txt (set version) :version: ** 0. set program tangle -#+BEGIN_SRC txt :tangle "../views/version.txt" +#+HEADER: :tangle "../views/version.txt" +#+BEGIN_SRC txt <<spine_version_struct>> <<spine_version_current_set>> <<spine_compiler_restrictions>> @@ -83,7 +85,9 @@ version (Posix) { - by sourcefiles contents identifier - by zip filename -#+BEGIN_SRC d :tangle "../src/doc_reform/spine.d" :shebang "#!/usr/bin/env rdmd" +#+HEADER: :tangle "../src/doc_reform/spine.d" +#+HEADER: :shebang "#!/usr/bin/env rdmd" +#+BEGIN_SRC d <<doc_header_including_copyright_and_license>> module doc_reform.sisu_document_parser; /++ @@ -1304,7 +1308,8 @@ break; // terminate, stop *** 0 module template - abstraction template -#+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc.d" +#+HEADER: :tangle "../src/doc_reform/meta/metadoc.d" +#+BEGIN_SRC d module doc_reform.meta.metadoc; template spineAbstraction() { <<imports_spine_metadoc>> |