Skip to content

Commit

Permalink
first try
Browse files Browse the repository at this point in the history
  • Loading branch information
gijzelaerr committed Feb 8, 2017
1 parent 2d7707c commit e334b74
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
22 changes: 22 additions & 0 deletions v1.0/conformance_test_v1.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -981,3 +981,25 @@
size: 15
tool: v1.0/imported-hint.cwl
doc: Test hints with $import

- job: v1.0/recursive-input-directory.json
output:
"outdir": {
"class": "Directory",
"listing": [
{
"class": "File",
"location": "hello.txt",
"checksum": "sha1$47a013e660d408619d894b20806b1d5086aab03b",
"size": 13
},
{
"class": "File",
"location": "goodbye.txt",
"checksum": "sha1$dd0a4c4c49ba43004d6611771972b6cf969c1c01",
"size": 24
}
],
}
tool: v1.0/recursive-input-directory.yml
doc: Test if a writable input directory is recursivly copied and writable
3 changes: 3 additions & 0 deletions v1.0/v1.0/recursive-input-directory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
input_dir:
class: Directory
location: testdir
18 changes: 18 additions & 0 deletions v1.0/v1.0/recursive-input-directory.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
cwlVersion: v1.0
class: CommandLineTool
requirements:
- class: InlineJavascriptRequirement
- class: InitialWorkDirRequirement
listing:
- entry: $(inputs.input_dir)
entryname: work_dir
writable: true
baseCommand: "touch"
arguments: [$(inputs.input_dir.path + "/e")]
inputs:
input_dir: Directory
outputs:
output_dir:
type: Directory
outputBinding:
glob: $(inputs.input_dir)

0 comments on commit e334b74

Please sign in to comment.