Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd010d0
commit d4830aa
Showing
3 changed files
with
16 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
#!/bin/sh | ||
# run from bin dir | ||
cd ../ | ||
rm -rf docs | ||
git clone git@github.com:jhalterman/modelmapper.git docs -b gh-pages | ||
cd core | ||
mvn -Pjavadoc javadoc:javadoc | ||
cd ../docs | ||
git add -A | ||
git commit -m "updated javadocs" | ||
git push origin gh-pages | ||
# Pushes javadocs for current build | ||
# Run from top level dir | ||
|
||
mvn javadoc:javadoc | ||
rm -rf target/docs | ||
git clone git@github.com:modelmapper/modelmapper.github.io.git target/docs > /dev/null | ||
cd target/docs | ||
git rm -rf javadoc | ||
mkdir -p javadoc | ||
mv -v ../../core/target/site/apidocs/* javadoc | ||
git add -A -f javadoc | ||
git commit -m "Updated JavaDocs" | ||
git push -fq origin master > /dev/null | ||
|
||
echo "Published Javadoc to modelmapper.github.io.\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters