GUACAMOLE-1754: Generate JSDoc for guacamole-common-js as part of build.

This commit is contained in:
Mike Jumper committed 2023-05-21 14:07:24 -07:00
1 parent 45549dd1da
commit 11e6c5ac26
3 files changed
+454 -8

No files matched your search

+19 -7
View File
@@ -188,18 +188,30 @@
<executions>
<!-- Install node.js and NPM before running tests -->
<!-- Install node.js and NPM before running tests or generating documentation -->
<execution>
<id>install node and npm</id>
<phase>test</phase>
<id>install-node-and-npm</id>
<phase>process-sources</phase>
<goals>
<goal>install-node-and-npm</goal>
</goals>
</execution>
<!-- Install test dependencies -->
<!-- Generate documentation using JSDoc -->
<execution>
<id>npm install</id>
<id>generate-docs</id>
<goals>
<goal>npx</goal>
</goals>
<phase>package</phase>
<configuration>
<arguments>jsdoc -c jsdoc-conf.json</arguments>
</configuration>
</execution>
<!-- Install test and documentation dependencies -->
<execution>
<id>npm-install</id>
<phase>test</phase>
<goals>
<goal>npm</goal>
@@ -208,13 +220,13 @@
<!-- Run all tests non-interactively -->
<execution>
<id>run tests</id>
<id>run-tests</id>
<phase>test</phase>
<goals>
<goal>karma</goal>
</goals>
</execution>
</executions>
</plugin>