Update javadocs to only generate on deploy, add deploy script

This commit is contained in:
Aikar
2017-11-25 19:40:04 -05:00
parent c48576a4d7
commit ab95e524a0
2 changed files with 13 additions and 1 deletions
Executable
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
if [ ! -z "$1" ]; then
cd $1 || exit 1
fi
mvn clean javadoc:jar deploy || exit 1
if [ ! -z "$1" ]; then
cd - || exit 1
fi
git add docs
git commit docs -m "Updated JavaDocs"