mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-22 08:52:18 -05:00
Moved config for build script to build.conf
This commit is contained in:
parent
952a1c6782
commit
b2e37a8644
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,10 +1,12 @@
|
|||||||
#
|
|
||||||
# Git Ignore for Yaaic
|
# Git Ignore for Yaaic
|
||||||
#
|
|
||||||
|
|
||||||
|
# Compiled and generated files
|
||||||
bin/
|
bin/
|
||||||
gen/
|
gen/
|
||||||
R.java
|
R.java
|
||||||
|
|
||||||
# local ant properties
|
# local ant properties
|
||||||
local.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
12
build.conf.sample
Normal 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=
|
||||||
|
|
@ -1,7 +1,15 @@
|
|||||||
KEYSTORE=
|
####
|
||||||
BUILD_DIRECTORY=builds/ant
|
# Build a new release
|
||||||
RELEASE_KEY=
|
#
|
||||||
ANDROID_SDK=
|
# - 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
|
if [ -z $1 ]; then
|
||||||
echo "Release version is missing."
|
echo "Release version is missing."
|
||||||
|
Loading…
Reference in New Issue
Block a user