From 10c21152311ae49760c7a8a23d5485bb06b80b6e Mon Sep 17 00:00:00 2001 From: Mario Romano Date: Fri, 10 Aug 2018 16:22:24 +0100 Subject: [PATCH] update redame scripts folder (#3689) --- scripts/README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/README.md b/scripts/README.md index dea4fe523c..0a1e565963 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -145,8 +145,8 @@ The default behaviour of the ***npm-build-all.sh*** install node_modules and bui | Option | Description | | --- | --- | | -h or --help | show the help | -| -t or --test | Run the tests, this parameter accepts also a wildcard to execute tests for example -t "ng2-alfresco-core" | -| -d or --debug | Run the tests **in browser**, this parameter accepts also a wildcard to execute tests for example -d "ng2-alfresco-core" | +| -t or --test | Run the tests, this parameter accepts also a wildcard to execute tests for example -t "core" | +| -d or --debug | Run the tests **in browser**, this parameter accepts also a wildcard to execute tests for example -d "core" | | -c or --clean | clean the ng2_components folders before start from all the temp builds files as node_modules | | -gitjsapi | start the demo shell using an alfresco-js-api referenced by commit-ish version of the JS-API | | -si or --skipinstall | skip the installation of the node_modules | @@ -171,6 +171,13 @@ The default behaviour of the ***npm-build-all.sh*** install node_modules and bui ./npm-build-all.sh -d ``` +* Build only a part of the component and run the tests only for a specific folder **in BROWSER**: +(you can change core with, any other lib in the lib folder) + +```sh +./npm-build-all.sh -si -sb -d "core" +``` + * Clean the lib folder node_modules before build ```sh