function lr { (( $# != 1 )) && return 64 case $1 in all) (jr && ant all) ;; bl) (jr && cd modules/apps/portal-language/portal-language-lang && gw buildLang) ;; kill) pkill -9 -f Liferay psql -c 'drop schema ce cascade;' -c 'create schema authorization ce;' postgres postgres (jr && rm -rf ../bundles/data && rm -rf ../bundles/osgi/state) ;; killdaemon) pkill -9 -f gradle ;; sf|fs) (jr && cd portal-impl && ant format-source) ;; *) return 64 ;; esac }