[Android] Add --fetch and --build options

Rafaël Carré funman at videolan.org
Mon Dec 23 17:14:40 CET 2013


On 12/23/13 16:57, Rafaël Carré wrote:
> vlc-ports/android | branch: master | Rafaël Carré <funman at videolan.org> | Mon Dec 23 16:51:35 2013 +0100| [0cdf6fb90aa567337c0097d2082b010118578b2f] | committer: Rafaël Carré
> 
> Add --fetch and --build options
> 
> Default is unchanged and perform all the steps
> 
>> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=0cdf6fb90aa567337c0097d2082b010118578b2f
> ---
> 
>  compile.sh |   54 +++++++++++++++++++++++++++++++++++++++++-------------
>  1 file changed, 41 insertions(+), 13 deletions(-)
> 
> diff --git a/compile.sh b/compile.sh
> index a28a916..2a5d24e 100755
> --- a/compile.sh
> +++ b/compile.sh
> @@ -6,6 +6,23 @@
>  
>  set -e
>  
> +BUILD=
> +FETCH=
> +case "$1" in
> +    --fetch)
> +    FETCH=1
> +    shift

I forgot to add these in the first commit, it's needed so ./compile.sh
--build release works properly.

Time for a --help option ?

> +    ;;
> +    --build)
> +    BUILD=1
> +    shift
> +    ;;
> +    *)
> +    FETCH=1
> +    BUILD=1
> +    ;;
> +esac


More information about the Android mailing list