mirror of
https://github.com/nasa/openmct.git
synced 2025-05-03 01:02:52 +00:00
[Build] Update README.md
Include short instructions to build.
This commit is contained in:
parent
4cb183adc3
commit
2036a467ce
20
README.md
20
README.md
@ -56,24 +56,14 @@ To run:
|
|||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
Open MCT Web includes a Maven command line build. Although Open MCT Web
|
Open MCT Web is built using [`npm`](http://npmjs.com/)
|
||||||
can be run as-is using the repository contents (that is, by viewing
|
and [`gulp`](http://gulpjs.com/).
|
||||||
`index.html` in a web browser), the command
|
|
||||||
line build allows machine-driven verification and packaging.
|
|
||||||
|
|
||||||
This build will:
|
To build:
|
||||||
|
|
||||||
* Check all sources (excluding those in directories named `lib`) with
|
`npm run prepublish`
|
||||||
JSLint for code style compliance. The build will fail if any sources
|
|
||||||
do not satisfy JSLint.
|
|
||||||
* Run the [unit test suite](#tests).
|
|
||||||
* Package the application as a `war` (web archive) file. This is
|
|
||||||
convenient for deployment on Tomcat or similar. This archive will
|
|
||||||
include sources, resources, and libraries for bundles, as well
|
|
||||||
as the top-level files used to initiate running of the application
|
|
||||||
(`index.html` and `bundles.json`).
|
|
||||||
|
|
||||||
Run as `mvn clean install`.
|
Additional `gulp` tasks are defined in [the gulpfile](gulpfile.js).
|
||||||
|
|
||||||
### Building Documentation
|
### Building Documentation
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user