mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* add new lib adf-testing * fix the prefix * Improve package * Add testing project * remove useless stuff * Remove useless code
15 lines
406 B
Bash
Executable File
15 lines
406 B
Bash
Executable File
#!/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/
|