Newer
Older
dub_jkp / test / issue1091-bogus-rebuild.sh
@Sönke Ludwig Sönke Ludwig on 10 Mar 2017 250 bytes Add test for #1091.
  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. cd ${CURR_DIR}/1-exec-simple
  6. rm -f dub.selections.json
  7. ${DUB} build --compiler=${DC} 2>&1 | grep -e "building configuration" -c || exit 1
  8. ${DUB} build --compiler=${DC} 2>&1 | grep -e "building configuration" -c && exit 1 || exit 0