mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2232] Content metadata layout oriented configuration (#2918)
* Small refactoring I. * Small refactoring II. * On the way of implementing the soultion * Refactoring aspect to groups and supporting different type of configs * Fixed linter errors * Fix debug project runner * Fix linting errors * Fix and align tests * Config factory tests * Layout oriented config parser * Adding layout oriented config to the config factory * Update config schema * Layout oriented config * Aspect oriented and indifferent configs alignment to the new propertyGroups structure * Remove dead codes * Fixinfinite loading error and custom type properties * Add documentation * Fix tests
This commit is contained in:
committed by
Eugenio Romano
parent
a863631f0d
commit
c109b9f6f3
@@ -46,6 +46,7 @@ enable_test(){
|
||||
enable_testbrowser(){
|
||||
if [[ ! -z $1 ]]; then
|
||||
if [[ $1 != "-"* ]]; then
|
||||
EXEC_SINGLE_TEST=true
|
||||
SINGLE_TEST=$1
|
||||
fi
|
||||
fi
|
||||
@@ -104,7 +105,7 @@ while [[ $1 == -* ]]; do
|
||||
shift;
|
||||
fi
|
||||
;;
|
||||
-d|--debug) enable_testbrowser $2; shift; shift;;
|
||||
-d|--debug) enable_testbrowser $2; shift; if $EXEC_SINGLE_TEST == true; then shift; fi ;;
|
||||
-ft|--fasttest) enable_fast_test; shift;;
|
||||
-gitjsapi) enable_js_api_git_link $2; shift 2;;
|
||||
-vjsapi) version_js_api $2; shift 2;;
|
||||
@@ -166,13 +167,16 @@ if $RUN_TEST == true; then
|
||||
fi
|
||||
|
||||
if $RUN_TESTBROWSER == true; then
|
||||
for PACKAGE in ${projects[@]}
|
||||
do
|
||||
DESTDIR="$DIR/../lib/"
|
||||
cd $DESTDIR
|
||||
if [[ $PACKAGE == $SINGLE_TEST ]]; then
|
||||
DESTDIR="$DIR/../lib/"
|
||||
cd $DESTDIR
|
||||
if $EXEC_SINGLE_TEST == true; then
|
||||
cp -n "$DESTDIR/config/karma-test-shim.js" "$DESTDIR/$SINGLE_TEST/"
|
||||
debug_project $SINGLE_TEST
|
||||
else
|
||||
for PACKAGE in ${projects[@]}
|
||||
do
|
||||
debug_project $PACKAGE
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user