Changeset 19037 for release-kits


Ignore:
Timestamp:
2009-04-17T15:57:57+12:00 (15 years ago)
Author:
oranfry
Message:

-properties option to release kits, which runs the properties ant target intended to show the user a list of properties the release kit supports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/shared/linux/rk

    r19006 r19037  
    4848    echo "  -cmd"
    4949    echo "      show the ant command being used by $rk_name"
     50    echo
     51    echo "  -properties"
     52    echo "      show the properties required/allowed in $rk_name-build.properties"
    5053
    5154}
     
    9598    elif [ "$1" == "-cmd" ]; then
    9699        show_cmd=true
     100    elif [ "$1" == "-properties" ]; then
     101        target="properties"
    97102    elif [ "$1" == "-sim" ]; then
    98103        toexec="$toexec $1"
     
    105110done
    106111
     112if [ "$target" != "" ]; then
     113    toexec="$toexec $target"
     114fi
     115
    107116#execute (or show the command to be executed)
    108117if [ "$show_cmd" == "true" ]; then
    109118    echo $toexec
    110119elif [ "$sim_mode" == "on" ]; then
     120    show_title
     121    $toexec
     122elif [ "$target" == "properties" ]; then
    111123    show_title
    112124    $toexec
Note: See TracChangeset for help on using the changeset viewer.