You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
489 B
Plaintext
27 lines
489 B
Plaintext
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
|
|
}
|