mirror of
https://github.com/aikar/commands.git
synced 2026-05-31 06:11:55 +00:00
Update javadocs to only generate on deploy, add deploy script
This commit is contained in:
@@ -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"
|
||||
@@ -111,13 +111,15 @@
|
||||
<quiet>true</quiet>
|
||||
<notimestamp>true</notimestamp>
|
||||
<linksource>true</linksource>
|
||||
<nohelp>true</nohelp>
|
||||
<show>public</show>
|
||||
<additionalparam>-Xdoclint:none</additionalparam>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
<goal>javadoc</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
|
||||
Reference in New Issue
Block a user