Skip to content

Commit

Permalink
Dexy runs generated tests for selector examples.
Browse files Browse the repository at this point in the history
We rename the example-verification target to
example-extraction, and make example-verification a target
that runs its own shell script.
  • Loading branch information
Shadowfiend committed Jun 18, 2014
1 parent 919d9d1 commit 17cc0bb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dexy.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
- html-docs:
- docs/*.adoc|asciidoctor

- example-verification:
- example-extraction:
- docs/scripts/extract-css-selector-examples.sh|bash:
- sh:
timeout: 500
- html-docs

- example-verification:
- docs/scripts/run-css-selector-examples.sh|bash:
- sh:
timeout: 500
- example-extraction
8 changes: 8 additions & 0 deletions docs/scripts/run-css-selector-examples.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
WORK_DIR=`pwd`

if [[ ! -z "$DEXY_ROOT" ]]
then
cd $DEXY_ROOT
fi

sbt -Dsbt.log.noformat=true "project lift-documentation-helpers" "test"

0 comments on commit 17cc0bb

Please sign in to comment.