mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1754: Generate JSDoc for guacamole-common-js as part of build.
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user