Compare commits

...

2 Commits

Author SHA1 Message Date
Thomas Klaehn
350e09beb7 recipes-core: Add web ui tools to perifirmware buildenv image
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
2020-08-31 07:14:28 +02:00
Thomas Klaehn
c5b617ec36 recipes-devtools: Add recipe for html minifier
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
2020-08-31 07:13:35 +02:00
3 changed files with 5244 additions and 0 deletions

View File

@ -38,10 +38,15 @@ API_TOOLS = " \
protoc-gen-doc \
"
WEBUI_TOOLS = " \
html-minifier \
"
IMAGE_INSTALL += " \
${BASE_TOOLS} \
${POSIX_TOOLS} \
${CR4_CROSS_TOOLS} \
${API_TOOLS} \
${WEBUI_TOOLS} \
"

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,20 @@
SUMMARY = "Html minifier"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI = " \
npm://registry.npmjs.org/;package=html-minifier;version=${PV} \
file://npm-shrinkwrap.json \
"
inherit npm
S = "${WORKDIR}/npm"
do_unpack_append () {
(cp ${WORKDIR}/npm-shrinkwrap.json ${S})
}