]> code.ossystems Code Review - openembedded-core.git/commit
devtool/recipetill: npm install of devDependencies
authorAnders Darander <anders@chargestorm.se>
Mon, 13 Mar 2017 10:01:52 +0000 (11:01 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Mar 2017 22:43:00 +0000 (22:43 +0000)
commitf246f820d53b459596fde6758a09f7a0d7db7c4c
tree88e48ca656a59fc6c4e75da7590cf2902810fbc0
parentf16723f66837a2acad3c114e4064e0ab1cb3a7a6
devtool/recipetill: npm install of devDependencies

Web applications built using e.g. angular2, usually requires that the
packages in devDependencies are available.

Thus, add an option '--fetch-dev' to both devtool add and recipetool, to
add npm packages in devDependencies to DEPENDS.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/standard.py
scripts/lib/recipetool/create.py
scripts/lib/recipetool/create_npm.py