mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* Get rid of the build-testing and call copydist when needed * Use the relative path instead of node_modules and avoid to build cli/testing in the before e2e * Try to build cli and testing as part of install * Build cli and testing before e2e * Copy cli bundle under dist * Copy cli bundle under dist * Copy testing into node_modules to fix protractor.js * Created a bundle target to handle build and move of cli/testing * Change from build target to something custom to avoid to exclude the packages * Remove the build-testing.sh script
16 lines
739 B
Bash
Executable File
16 lines
739 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
npm ci
|
|
# the cli/testing need to be always build because they are now installed from NPM!
|
|
# nx build cli
|
|
# nx build testing
|
|
# The adf-cli is not installed through NPM for this reason it needs to be built
|
|
# in addition the dist folder needs to be moved as part of the node modules
|
|
# in this way every check like check-cs check-ps can use the adf cli
|
|
# the bundle is saved under node_modules also to use the same cache of travis
|
|
nx run cli:bundle
|
|
# The adf-testing is not installed through NPM for this reason it needs to be built
|
|
# in addition the dist folder needs to be moved as part of the node modules
|
|
# in this way the protractor.config.js can use require('@alfresco/adf-testing');
|
|
nx run testing:bundle
|