mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* Use name instead of env * Enable cache dist * enable only master and dev * rename e2e lib * add nx and smart build * disable packaging and create demo shell stages * use same name * Enable affected e2e for core and process * Enable affected libs check on all the e2e * fix e2e condition * Enable unit tests * Manage case deps not present * add name typo * add affected folder to check e2e * change an e2e test * remove branch typo * Update .travis.yml
25 lines
716 B
Bash
Executable File
25 lines
716 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
cd $DIR/..
|
|
|
|
echo "====== Core ======"
|
|
echo "====== Build ======"
|
|
npm run ng-packagr -- -p ./lib/core/ || exit 1
|
|
|
|
echo "====== Build style ======"
|
|
node ./lib/config/bundle-core-scss.js || exit 1
|
|
|
|
echo "====== Copy i18n ======"
|
|
mkdir -p ./lib/dist/core/bundles/assets/adf-core/i18n
|
|
cp -R ./lib/core/i18n/* ./lib/dist/core/bundles/assets/adf-core/i18n
|
|
|
|
echo "====== Copy assets ======"
|
|
cp -R ./lib/core/assets/* ./lib/dist/core/bundles/assets
|
|
|
|
echo "====== Move to node_modules ======"
|
|
rm -rf ./node_modules/@alfresco/adf-core/ && \
|
|
mkdir -p ./node_modules/@alfresco/adf-core/ && \
|
|
cp -R ./lib/dist/core/* ./node_modules/@alfresco/adf-core/
|