diff options
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) { |