mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 11:17:08 +00:00
The postinstall script will (rightly) return non-zero if the API docs cannot be built, but this creates a problem when building a container (Docker) image. In that case, we expect the postinstall to fail, as the required files (spec/*) will not have been copied into the image when `npm install` is run. By adding an explicit OR clause we allow postinstall to end gracefully whether or not the API docs have been built.