mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* move tslint ADF rules in principal repo * fix style issues * change pacakge.json position * update to angular cli 6.0.0 * reorganization package.json * remove node modules2 folder * exclude integration * rollback alfresco-js-api * solve types problems * fix pdf test * fix errors and exclude two tests * fix e2e * fix test * copy all the new packages in node_modules * fix test * fix packaging script * scss issue fix * move test export in tools
39 lines
1023 B
Bash
Executable File
39 lines
1023 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
echo "====== Install lib ===== "
|
|
|
|
cd $DIR/../
|
|
npm install
|
|
|
|
echo "====== Install JS-API alpha ===== "
|
|
|
|
npm install alfresco-js-api@alpha
|
|
|
|
echo "====== Build ADF ===== "
|
|
|
|
npm run build-lib
|
|
|
|
echo "====== COPY new build in node_modules ===== "
|
|
|
|
rm -rf ../node_modules/@alfresco
|
|
|
|
mkdir -p $DIR/../node_modules/@alfresco/adf-core
|
|
mkdir -p $DIR/../node_modules/@alfresco/adf-content-services
|
|
mkdir -p $DIR/../node_modules/@alfresco/adf-process-services
|
|
mkdir -p $DIR/../node_modules/@alfresco/adf-insights
|
|
|
|
cp -R $DIR/../lib/dist/core/* $DIR/..//node_modules/@alfresco/adf-core
|
|
cp -R $DIR/../lib/dist/content-services/* $DIR/../node_modules/@alfresco/adf-content-services
|
|
cp -R $DIR/../lib/dist/process-services/* $DIR/../node_modules/@alfresco/adf-process-services
|
|
cp -R $DIR/../lib/dist/insights/* $DIR/../node_modules/@alfresco/adf-insights
|
|
|
|
echo "====== Build dist demo shell ===== "
|
|
|
|
npm run build:dist
|
|
|
|
echo "====== e2e test ===== "
|
|
|
|
npm run e2e
|