[OE-core] [PATCH v3 08/17] npm.bbclass: split the do_compile task
Ross Burton
ross.burton at intel.com
Mon Nov 25 13:58:13 UTC 2019
On 20/11/2019 09:33, Jean-Marie LEMETAYER wrote:
> +python do_fetch_append() {
> + """
> + Fetch all dependencies tarball to DL_DIR.
> + """
> + bb.fetch2.npm.fetch_dependencies(d)
> +}
> +
> +python do_unpack_append() {
> + """
> + Unpack all dependencies tarball to the 'node_modules' directory and add
> + them to the npm cache. The dependencies needs to be unpacked to have
> + access to the licenses files checksum feature (LIC_FILES_CHKSUM). They
> + also have to be in the cache to properly execute the 'npm install'.
> + """
> + bb.fetch2.npm.unpack_dependencies(d)
> +}
I'd say that appends are a little ugly for introduction of core
behaviour, maybe using do_fetch[postfuncs] would be neater.
Ross
More information about the Openembedded-core
mailing list