# HG changeset patch # User fubar # Date 1412727803 14400 # Node ID 417cba94d862b1e37d3541b206365c980a26078e # Parent c5bfdb0f70418ea867b5e10c73653e84cf42d185 Uploaded diff -r c5bfdb0f7041 -r 417cba94d862 rgToolFactory.xml --- a/rgToolFactory.xml Tue Oct 07 18:50:49 2014 -0400 +++ b/rgToolFactory.xml Tue Oct 07 20:23:23 2014 -0400 @@ -1,4 +1,4 @@ - + Makes scripts into tools ghostscript @@ -10,25 +10,22 @@ #else: rgToolFactory.py --script_path "$runme" --interpreter "$interpreter" --tool_name "$tool_name" --user_email "$__user_email__" - #if $make_TAB.value=="yes": + #if $make_TAB=="yes": --output_tab "$tab_file" --output_format "$output_format" #end if - #if $makeMode.make_Tool=="yes": - --make_Tool "$makeMode.make_Tool" + #if $makeMode.make_Tool == "yes": + --make_Tool "yes" --tool_desc "$makeMode.tool_desc" --tool_version "$makeMode.tool_version" --new_tool "$new_tool" --help_text "$helpme" - #if $make_HTML.value=="yes": - #if makeMode.include_deps.value=="yes": - --include_dependencies "yes" - #end if - #end if --citations "$citeme" + --include_dependencies "yes" #end if - #if $make_HTML.value=="yes": - --output_dir "$html_file.files_path" --output_html "$html_file" --make_HTML "yes" + + #if $make_HTML=="yes": + --output_dir "$html_file.files_path" --output_html "$html_file" --make_HTML "yes" #else: --output_dir "." #end if @@ -67,8 +64,7 @@ size="8x120" value="**What it Does**" help="Supply the brief user documentation to appear on the new tool form as reStructured text - http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html" > - - + @@ -91,8 +87,7 @@ - - + @@ -155,20 +150,20 @@ $dynScript #if $makeMode.make_Tool == "yes": -${makeMode.help_text} +$makeMode.help_text #end if #if $makeMode.make_Tool == "yes": -#for $citation in $makeMode.citations: -#if $citation.citation_type.type == "bibtex": -**ENTRY**bibtex -${citation.citation_type.bibtex} -#else -**ENTRY**doi -${citation.citation_type.doi} -#end if -#end for + #for $citation in $makeMode.citations: + #if $citation.citation_type.type == "bibtex": + **ENTRY**bibtex + ${citation.citation_type.bibtex} + #else: + **ENTRY**doi + ${citation.citation_type.doi} + #end if + #end for #end if