Skip to content

Commit 9a36269

Browse files
Add test component
1 parent e30a42a commit 9a36269

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: output_directory
2+
arguments:
3+
- name: "--output"
4+
type: file
5+
required: true
6+
direction: output
7+
resources:
8+
- type: bash_script
9+
path: script.sh
10+
engines:
11+
- type: native
12+
- type: docker
13+
image: nextflow/bash:latest
14+
runners:
15+
- type: nextflow
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/test
2+
3+
[ -d "$par_output" ] && rm "$par_output"
4+
5+
mkdir -p "$par_output"
6+
echo "test123" > "${par_output}/test1.txt"

0 commit comments

Comments
 (0)