Skip to content

Instantly share code, notes, and snippets.

@inutano
Created June 30, 2018 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inutano/0e99110f7789084cbac9c577267d3c7b to your computer and use it in GitHub Desktop.
Save inutano/0e99110f7789084cbac9c577267d3c7b to your computer and use it in GitHub Desktop.
#!/bin/sh
find ${HOME}/.pitagora-cwl/workflows -name 'README.md' | \
xargs -I{} grep curl {} | \
awk '{ print $NF }' | \
tr -d '"' | \
while read wf; do
for i in $(seq 10); do
rm -fr ${HOME}/work/*${wf}*
bash ${HOME}/.pitagora-cwl/test/bin/run-cwl ${wf}
rm -fr /tmp/tmp*
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment