#!/bin/bash

# Clear out any existing builds
rm -rf build
mkdir build

for WORKFLOW in workflows/*.cwl; do
  BASE=$(basename $WORKFLOW)
  cwltool --pack $WORKFLOW > build/${BASE}
done

#!/bin/bash

set -e

# Clear out any existing builds
OUTDIR="build"

rm -rf ${OUTDIR}
mkdir ${OUTDIR}

for WORKFLOW in workflows/*.cwl; do
  BASE=$(basename $WORKFLOW)
  cwltool --pack $WORKFLOW > ${OUTDIR}/${BASE}
done

Tweak build script to fail on error
Tweak build script to fail on error
