adf-testing package (#4152)

* add new lib adf-testing

* fix the prefix

* Improve package

* Add testing project

* remove useless stuff

* Remove useless code
This commit is contained in:
Maurizio Vitale
2019-02-19 15:08:41 +00:00
committed by Eugenio Romano
parent 81ec4ed441
commit 08231bbf33
36 changed files with 717 additions and 5 deletions

14
scripts/build-testing.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR/..
echo "====== Testing ======"
echo "====== Build ======"
npm run ng-packagr -- -p ./lib/testing/ || exit 1
echo "====== Move to node_modules ======"
rm -rf ./node_modules/@alfresco/adf-testing/ && \
mkdir -p ./node_modules/@alfresco/adf-testing/ && \
cp -R ./lib/dist/testing/* ./node_modules/@alfresco/adf-testing/