Building mscgen_js
April 11, 2026 ยท View on GitHub
Building
The development build creates all generated sources, but keeps them in the src tree.
npm install
node --run=build # should create the state the master branch is in.
Cleaning
node --run=build:cleanremoves all generated sources
Quality checks
-
npm testornode --run=test- runs the unit/ regression tests
- (some checks are still run manually with a well trained pair of eyeballs ...)
-
node --run=test:cover- generates a report that specifies the test coverage
- note that it runs the
testtarget to determine the coverage
-
node --run=checkcombination target, performs- dependency-cruise
- test (including coverage)
-
node --run=check:fullcombination target:- runs a
checkand npm outdated(to check for outdated node_modules)
- runs a
Prerequisites
- node and npm
- bash (or another shell that has cp, mkdir, rm, sed, grep, expr)
- for the rest: run an
npm install - git