Newer
Older
dub_jkp / test / issue1091-bogus-rebuild.sh
@Martin Nowak Martin Nowak on 3 Jul 2017 296 bytes unify flags and error handling
#!/usr/bin/env bash

. $(dirname "${BASH_SOURCE[0]}")/common.sh

cd ${CURR_DIR}/1-exec-simple
rm -f dub.selections.json
${DUB} build --compiler=${DC} 2>&1 | grep -e "building configuration" -c || exit 1
${DUB} build --compiler=${DC} 2>&1 | grep -e "building configuration" -c && exit 1 || exit 0