diff options
author | Ralph Amissah <ralph@amissah.com> | 2020-02-04 17:10:57 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2020-02-26 09:59:18 -0500 |
commit | 0ce4e986fcd5af430d9f7bfdd625da7a58a1527e (patch) | |
tree | fdc5efbe568b60af7dd8e8ac4f828b4705ad3765 /src/doc_reform/spine.d | |
parent | code ctRegex calls, tidying (diff) |
imports related, mostly cosmetic
Diffstat (limited to 'src/doc_reform/spine.d')
-rwxr-xr-x | src/doc_reform/spine.d | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/doc_reform/spine.d b/src/doc_reform/spine.d index 67ee838..53161c7 100755 --- a/src/doc_reform/spine.d +++ b/src/doc_reform/spine.d @@ -51,17 +51,22 @@ +/ module doc_reform.sisu_document_parser; +/++ +name "spine" +description "A SiSU inspired document parser writen in D." +homepage "http://sisudoc.org" ++/ import - doc_reform.conf.compile_time_info, - doc_reform.meta.metadoc; -import + std.algorithm, std.datetime, std.getopt, std.file, std.path, std.process; import + doc_reform.conf.compile_time_info, doc_reform.meta, + doc_reform.meta.metadoc, doc_reform.meta.metadoc_harvest, doc_reform.meta.metadoc_harvests_authors, doc_reform.meta.metadoc_harvests_topics, @@ -75,17 +80,10 @@ import doc_reform.io_in.read_config_files, doc_reform.io_in.read_source_files, doc_reform.io_out.hub; -import std.algorithm; -import std.parallelism; mixin(import("version.txt")); mixin CompileTimeInfo; string project_name = "spine"; string program_name = "spine"; -/++ -name "spine" -description "A SiSU inspired document parser writen in D." -homepage "http://sisudoc.org" -+/ @system void main(string[] args) { mixin spineRgxIn; mixin contentJSONtoSpineStruct; @@ -724,6 +722,7 @@ homepage "http://sisudoc.org" if (_manifests.length > 1 // _manifests[0] initialized dummy element && _opt_action.abstraction) { if (_opt_action.parallelise) { // see else + import std.parallelism; foreach(manifest; parallel(_manifests[1..$])) { if (!empty(manifest.src.filename)) { scope(success) { |