Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
biopet.biopet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Mirrors
biopet.biopet
Commits
d03b8be7
Commit
d03b8be7
authored
May 17, 2016
by
Peter van 't Hof
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make curl pipable
parent
0d14a49a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Curl.scala
.../src/main/scala/nl/lumc/sasc/biopet/extensions/Curl.scala
+1
-1
No files found.
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Curl.scala
View file @
d03b8be7
...
...
@@ -34,5 +34,5 @@ class Curl(val root: Configurable) extends BiopetCommandLineFunction with Versio
def
versionCommand
=
executable
+
" --version"
def
versionRegex
=
"""curl (\w+\.\w+\.\w+) .*"""
.
r
def
cmdLine
:
String
=
required
(
executable
)
+
required
(
url
)
+
" > "
+
required
(
output
)
def
cmdLine
:
String
=
required
(
executable
)
+
required
(
url
)
+
(
if
(
outputAsStsout
)
""
else
" > "
+
required
(
output
)
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment