Alan Agius 95c72677a5 build: terminate process with non zero error code when build fails
At the moment, error can be undefined sometimes which is causing the process not to be terminated with a non zero error code.
2019-01-11 14:08:48 -08:00
..
ng
2018-06-05 18:50:06 -07:00

/bin Folder

This folder includes binaries that are linked when globally linking this repository.

Each file in this directory follows this pattern:

  1. JavaScript only.
  2. Requires ../lib/bootstrap-local.js to bootstrap TypeScript and Node integration.
  3. Requires ../lib/packages and use the package metadata to find the binary script for the package the script is bootstrapping.
  4. Call out main, or simply require the file if it has no export.

devkit-admin does not follow this pattern as it needs to setup logging and run some localized logic.

In order to add a new script, you should make sure it's in the root package.json, so people linking this repo get a reference to the script.