-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This directory is for build and release notes and tools for the slient-phone/scandroid repo. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/bash | ||
|
||
# This script expects the following environment variables (values can differ): | ||
# | ||
# ANDROID_ADT=/opt/adt-bundle-linux-x86_64-20130522 | ||
# ANDROID_ANT=/opt/adt-bundle-linux-x86_64-20130522/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/ant | ||
# ANDROID_NDK=/opt/android-ndk-r8e | ||
# ANDROID_SDK=/opt/android-sdk-linux | ||
# | ||
# SRC_ROOT=$HOME | ||
# AUTOMATED_BUILD=1 | ||
|
||
# derived locations | ||
# | ||
SCANDROID_ROOT=$SRC_ROOT | ||
|
||
# cleanup | ||
# | ||
rm -rf $SCANDROID_ROOT/obj | ||
rm -rf $SCANDROID_ROOT/libs/armeabi | ||
|
||
# ndk jni builds | ||
# | ||
pushd $SCANDROID_ROOT | ||
ndk-build | ||
# ndk-build -d -B V=1 NDK_LOG=1 | ||
popd | ||
|
||
# android build | ||
# | ||
pushd $SCANDROID_ROOT | ||
|
||
echo "sdk.dir=$ANDROID_SDK" > local.properties | ||
echo "ndk.dir=$ANDROID_NDK" >> local.properties | ||
|
||
android update project --target android-17 --name ActionBarSherlock --path support/ActionBarSherlock/library | ||
|
||
$ANDROID_ANT \ | ||
-Dkey.store=$SCANDROID_ROOT/.build-release/test-debug.keystore \ | ||
-Dkey.store.password=android \ | ||
-Dkey.alias=androiddebugkey \ | ||
-Dkey.alias.password=android \ | ||
clean release | ||
|
||
popd | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
# perhaps something could be done to make this one command | ||
git log -n 1 --pretty=format:"%cd :: %h" > build-header.txt | ||
echo >> build-header.txt | ||
git log -n 1 --pretty=format:"%cn" >> build-header.txt | ||
echo >> build-header.txt | ||
git log -n 1 --pretty=format:"%s" >> build-header.txt | ||
echo >> build-header.txt | ||
|
||
# Jenkins build variable - has format of timestamp | ||
echo $BUILD_ID > build-id.txt | ||
|
||
# add a vacuous comment |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="gen"/> | ||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> | ||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> | ||
<classpathentry kind="output" path="bin/classes"/> | ||
</classpath> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Android generated files # | ||
########################### | ||
android.keystore | ||
local.properties | ||
bin/ | ||
gen/ | ||
obj/ | ||
libs/armeabi/ | ||
|
||
# OS generated files # | ||
###################### | ||
.DS_Store* | ||
ehthumbs.db | ||
Icon? | ||
Thumbs.db | ||
|
||
# Eclipse generated files # | ||
########################### | ||
.settings/org.eclipse.jdt.core.prefs | ||
|
||
# Backup files | ||
################## | ||
*~ | ||
|
||
# Android Studio/IntelliJ and gradle directories | ||
################## | ||
out/ | ||
build/ | ||
.gradle/ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.