Newer
Older
dub_jkp / test / ddox.sh
@Martin Nowak Martin Nowak on 3 Jul 2017 460 bytes unify flags and error handling
  1. #!/usr/bin/env bash
  2.  
  3. . $(dirname "${BASH_SOURCE[0]}")/common.sh
  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