Newer
Older
dub_jkp / test / ddox.sh
@Martin Nowak Martin Nowak on 18 Oct 2015 428 bytes allow to specify ddox tool
  1. #!/bin/bash
  2.  
  3. set -e -o pipefail
  4.  
  5. (cd $CURR_DIR/ddox/default && $DUB build -b ddox)
  6. grep -qF ddox_project $CURR_DIR/ddox/default/docs/index.html
  7.  
  8. $DUB add-local $CURR_DIR/ddox/custom-tool
  9. (cd $CURR_DIR/ddox/custom && $DUB build -b ddox)
  10. grep -qF custom-tool $CURR_DIR/ddox/custom/docs/custom_tool_output
  11. diff $CURR_DIR/ddox/custom-tool/public/copied $CURR_DIR/ddox/custom/docs/copied
  12. $DUB remove-local $CURR_DIR/ddox/custom-tool