diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-08 14:51:57 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-27 11:38:53 +0300 |
commit | 720c5a33b6a49cf328fdd7611f49153cf8f60247 (patch) | |
tree | 9725f3d1f42ec90fde84520f49647edea013ce5e /tests/headings | |
parent | 3183f3bb927a90783ae0aeaf190a0919377aabe4 (diff) |
Separate tests and examples into individual packages
Also make cli module to be explicitly enabled via the config.cli configuration
variable.
Diffstat (limited to 'tests/headings')
-rw-r--r-- | tests/headings/buildfile | 4 | ||||
-rw-r--r-- | tests/headings/testscript | 38 |
2 files changed, 0 insertions, 42 deletions
diff --git a/tests/headings/buildfile b/tests/headings/buildfile deleted file mode 100644 index 4ece7d6..0000000 --- a/tests/headings/buildfile +++ /dev/null @@ -1,4 +0,0 @@ -# file : tests/headings/buildfile -# license : MIT; see accompanying LICENSE file - -./: testscript diff --git a/tests/headings/testscript b/tests/headings/testscript deleted file mode 100644 index 0827890..0000000 --- a/tests/headings/testscript +++ /dev/null @@ -1,38 +0,0 @@ -# file : tests/headings/testscript -# license : MIT; see accompanying LICENSE file - -test = $effect($cli.path) - -: auto-headings -: -: Note that auto-headings break if we split into multiple doc strings. -: -cat <<EOI >=map.cli; -" -\h1|Heading 1| - -\h|Heading 1.1| - -\h2|Heading 1.1.1| - -\h|Heading 1.2| - -\h2|Heading 1.2.1| - -\h1|Heading 2| -" -EOI -$* --generate-html --stdout map.cli >>EOO - <h1>Heading 1</h1> - - <h2>Heading 1.1</h2> - - <h3>Heading 1.1.1</h3> - - <h2>Heading 1.2</h2> - - <h3>Heading 1.2.1</h3> - - <h1>Heading 2</h1> - -EOO |