0
|
1 <tool id="catsn" name="Swift hello">
|
|
2 <description>A Swift tool to run hello world</description>
|
|
3
|
|
4 <command interpreter="bash">
|
|
5 swift-hello "$site" "$n" "$html_file.files_path" "$log_file" "$html_file"
|
|
6 </command>
|
|
7 <inputs>
|
|
8 <param name="site" type="select" label="Execution Location">
|
|
9 <option value="localhost">Localhost</option>
|
|
10 <option value="cluster">Cluster</option>
|
|
11 </param>
|
|
12 <param name="n" type="text" value="2" label="Number of tasks to run "/>
|
|
13 </inputs>
|
|
14 <outputs>
|
|
15 <data format="txt" name="log_file" type="data" label="Swift output" />
|
|
16 <data format="html" name="html_file" label="catsnoutput.html" />
|
|
17 </outputs>
|
|
18 </tool>
|