mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix build
This commit is contained in:
@@ -7,18 +7,10 @@ cd $DIR/../..
|
|||||||
echo "====== Testing ======"
|
echo "====== Testing ======"
|
||||||
echo "====== Build ======"
|
echo "====== Build ======"
|
||||||
|
|
||||||
npm run ng-packagr -- -p ./lib/testing/
|
|
||||||
if [ "$CI" = "true" ]; then
|
|
||||||
echo "Building testing for production"
|
|
||||||
nx -- build testing --prod || exit 1
|
|
||||||
else
|
|
||||||
echo "Building testing for development"
|
|
||||||
nx build testing || exit 1
|
nx build testing || exit 1
|
||||||
fi
|
|
||||||
|
|
||||||
echo "====== Move to node_modules ======"
|
echo "====== Move to node_modules ======"
|
||||||
rm -rf ./node_modules/@alfresco/adf-testing/ && \
|
rm -rf ./node_modules/@alfresco/adf-testing/ && \
|
||||||
mkdir -p ./node_modules/@alfresco/adf-testing/ && \
|
mkdir -p ./node_modules/@alfresco/adf-testing/ && \
|
||||||
cp -R ./lib/dist/testing/* ./node_modules/@alfresco/adf-testing/
|
cp -R ./lib/dist/testing/* ./node_modules/@alfresco/adf-testing/
|
||||||
nx build testing || exit 1
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user