Newer
Older
dub_jkp / test / issue616-describe-vs-generate-commands / do-preGenerateCommands.sh
@Martin Nowak Martin Nowak on 29 Sep 2015 367 bytes use DC instead of COMPILER
  1. #!/bin/sh
  2. if [ -n "${dub_issue616}" ]; then
  3. echo 'Fail! preGenerateCommands recursion detected!' >&2
  4. exit 0 # Don't return a non-zero error code here. This way the test gives a better diagnostic.
  5. fi
  6.  
  7. echo preGenerateCommands: DUB_PACKAGES_USED=$DUB_PACKAGES_USED >&2
  8.  
  9. export dub_issue616=true
  10. $DUB describe --compiler=$DC --data-list --data=import-paths >&2