Moved config for build script to build.conf

This commit is contained in:
Sebastian Kaspari 2010-11-03 16:31:17 +01:00
parent 952a1c6782
commit b2e37a8644
3 changed files with 28 additions and 6 deletions

6
.gitignore vendored
View File

@ -1,10 +1,12 @@
#
# Git Ignore for Yaaic
#
# Compiled and generated files
bin/
gen/
R.java
# local ant properties
local.properties
# Config file for the build_release.sh script (Because everyone has a different version)
build.conf

12
build.conf.sample Normal file
View File

@ -0,0 +1,12 @@
# The keystore file you use for the release
KEYSTORE=
# The directory you want the builds to go
BUILD_DIRECTORY=builds/ant
# The key of the keystore you want to use to sign the release
RELEASE_KEY=
# The path to your Android SDK
ANDROID_SDK=

View File

@ -1,7 +1,15 @@
KEYSTORE=
BUILD_DIRECTORY=builds/ant
RELEASE_KEY=
ANDROID_SDK=
####
# Build a new release
#
# - Modify build.conf as needed
# - Usage: ./build_release.sh <version>
if [ ! -f build.conf ]
echo "Config file missing: build.conf"
echo "Modify the build.conf.sample file and save it as build.conf"
fi
. build.conf
if [ -z $1 ]; then
echo "Release version is missing."