From 43757c20ccadb589ac0aecd94561fa99d17f792d Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sat, 30 Jan 2016 20:28:14 +0100 Subject: update TODO --- add_extbase_property.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/add_extbase_property.sh b/add_extbase_property.sh index f7f19be..aefb5c9 100755 --- a/add_extbase_property.sh +++ b/add_extbase_property.sh @@ -4,6 +4,7 @@ # TODO: fail if there are uncommitted changes # TODO: @required support # TODO: add relation with optional @lazy support +# TODO: search backwards for ext_emconf.php and cd to that directory and use it as extension name if [ ! -e "ext_emconf.php" ]; then echo "Error: This script needs to be run from an extensions root dir" @@ -57,8 +58,6 @@ tca_file=Configuration/TCA/${tablename}.php [[ -e "$tca_file" ]] || tca_file=Configuration/TCA/${model}.php -# TODO: search backwards for ext_emconf.php and cd to that directory and use it as extension name -# TODO: fail if ext_emconf.php is not found (probably the wrong directory) field=`echo $property | sed -r 's/([a-z]+)([A-Z][a-z]+)/\1_\l\2/g'` uproperty=`echo $property | sed -r 's/^./\u&/'` -- cgit