Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
joanrodas committed Apr 2, 2022
1 parent ad01819 commit 67aaf1d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plubo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ find ./ -type f -name '*.php' | xargs sed -i "s/plugin-placeholder/${PWD##*/}/g"
find ./ -type f -name '*.php' | xargs sed -i "s/PLUGIN_PLACEHOLDER/$(tr '[a-z]' '[A-Z]' <<< ${PWD##*/})/g"
find ./ -type f -name '*.php' | xargs sed -i "s/PluginPlaceholder/$(awk 'BEGIN{FS="";RS="-";ORS=""} {$0=toupper(substr($0,1,1)) substr($0,2)} 1' <<< ${PWD##*/})/g"
php -r "rename('plugin-placeholder.php', '${PWD##*/}.php');"
composer dump-autoload

0 comments on commit 67aaf1d

Please sign in to comment.