mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix build testing
This commit is contained in:
@@ -3,10 +3,11 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../dist/testing/",
|
"outDir": "../dist/testing/",
|
||||||
"baseUrl": "src",
|
"baseUrl": "src",
|
||||||
"resolveJsonModule": true,
|
|
||||||
"paths": {
|
"paths": {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
"skipTemplateCodegen": true,
|
"skipTemplateCodegen": true,
|
||||||
"strictMetadataEmit": true,
|
"strictMetadataEmit": true,
|
||||||
|
@@ -7,10 +7,15 @@ cd $DIR/../..
|
|||||||
echo "====== Testing ======"
|
echo "====== Testing ======"
|
||||||
echo "====== Build ======"
|
echo "====== Build ======"
|
||||||
|
|
||||||
nx build testing || exit 1
|
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
|
||||||
|
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/
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user