diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-01-30 20:28:14 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-01-30 20:28:14 +0100 |
commit | 43757c20ccadb589ac0aecd94561fa99d17f792d (patch) | |
tree | 1b32e06b903c36a3bed16cccaa59b550f9f027c2 | |
parent | 4050efaff54f940f6986c42233265c19a1307429 (diff) | |
download | extbase-generator-cli-43757c20ccadb589ac0aecd94561fa99d17f792d.tar.gz extbase-generator-cli-43757c20ccadb589ac0aecd94561fa99d17f792d.tar.bz2 extbase-generator-cli-43757c20ccadb589ac0aecd94561fa99d17f792d.zip |
update TODO
-rwxr-xr-x | add_extbase_property.sh | 3 |
1 files changed, 1 insertions, 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&/'` |