forked from I2P_Developers/i2p.i2p
Build: Add jsdoc target
Doesn't really do much yet because none of our js has jsdocs
This commit is contained in:
15
build.xml
15
build.xml
@@ -979,6 +979,21 @@
|
||||
<echo message="Warning, javadoc embeds timestamps in the output, run with 'TZ=UTC ant javadoc' if you plan to distribute" />
|
||||
</target>
|
||||
|
||||
<!-- sudo apt install jsdoc-toolkit -->
|
||||
<target name="jsdoc">
|
||||
<exec executable="jsdoc" failonerror="true">
|
||||
<arg value="-d=build/jsdoc" />
|
||||
<arg value="-P" />
|
||||
<arg value="installer/resources/package.json" />
|
||||
<arg value="-r" />
|
||||
<arg value="apps/i2psnark/resources/js" />
|
||||
<arg value="apps/i2ptunnel/jsp/js" />
|
||||
<arg value="apps/routerconsole/jsp/js" />
|
||||
<arg value="apps/susidns/src/js" />
|
||||
<arg value="apps/susimail/src/js" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<!-- sets release.number and api.version -->
|
||||
<target name="getReleaseNumber">
|
||||
<loadfile srcfile="core/java/src/net/i2p/CoreVersion.java" property="release.number">
|
||||
|
8
installer/resources/package.json
Normal file
8
installer/resources/package.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "I2P Console JS",
|
||||
"version": "0.9.57",
|
||||
"description": "Webapp JS",
|
||||
"repository": "https://github.com/i2p/i2p.i2p",
|
||||
"author": "I2P Team",
|
||||
"license": "GPLv2"
|
||||
}
|
Reference in New Issue
Block a user