Skip to content

Commit

Permalink
also publish javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Schäfer committed Jan 17, 2015
1 parent 5e99283 commit 7fa92d7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publishJGivenReports.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
set -e
gradle clean build
./gradlew clean build
git checkout gh-pages
git pull --rebase
git rm -r jgiven-report/*
Expand Down
11 changes: 11 additions & 0 deletions scripts/publishJavadoc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh
set -ex
./gradlew javadoc
git checkout gh-pages
git pull --rebase
git rm -r javadoc/*
cp -r jgiven-core/build/docs/javadoc/* javadoc
git add javadoc
git commit -m 'added javadoc to gh-pages'
git push
git checkout -f master

0 comments on commit 7fa92d7

Please sign in to comment.