diff options
author | Brendan Le Foll <brendan.le.foll@intel.com> | 2016-02-25 15:40:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-26 17:20:07 +0000 |
commit | ca5b6d66e036fd52a7666480d2009f2a0c1e5216 (patch) | |
tree | defdf1cf59447927d77a4b153c2a9d00d30c3058 /scripts/lib/scriptutils.py | |
parent | 813bd1f806d27d46d6df8fbc8b878e78ac0053a1 (diff) | |
download | poky-ca5b6d66e036fd52a7666480d2009f2a0c1e5216.tar.gz |
bitbake: fetch2/npm: Add npm fetcher
npm fetcher with support for shrinkwrap files and lockdown files to easily
download and install an npm package with strict dependency resolution.
The SRC_URI should be in the format of:
SRC_URI = "npm://registry.npmjs.org/;name=${PN};version=${PV}"
To add a shrinkwrap and lockdown file use:
NPM_SHRINKWRAP := "${THISDIR}/${PN}/npm-shrinkwrap.json"
NPM_LOCKDOWN := "${THISDIR}/${PN}/lockdown.json"
(Bitbake rev: dec75bbc5d075acb322dad8b1c40d6bd518dc9fd)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions