Reorg script moving in folders (#4791)

* organize script in folder part 1

* improve test e2e

* fix smart build script

* fix relative path
This commit is contained in:
Eugenio Romano
2019-05-30 17:59:22 +01:00
committed by GitHub
parent cccd95562c
commit ce60915fd9
21 changed files with 22 additions and 67 deletions

14
scripts/build/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/