From e09c5a81a9efbf3eadeef96bea218ff1bc9df14d Mon Sep 17 00:00:00 2001 From: n8fr8 Date: Tue, 27 Sep 2016 04:30:37 -0400 Subject: [PATCH] update the README --- README.md | 61 +------------------------------------------------------ 1 file changed, 1 insertion(+), 60 deletions(-) diff --git a/README.md b/README.md index 1c76703b6..752f6df85 100644 --- a/README.md +++ b/README.md @@ -43,64 +43,5 @@ at #guardianproject on freenode or OFTC (https://guardianproject.info/contact/ch ### Get the source -The source code is all in the main git repos, with sub-projects setup as git -submodules: +The source code is all in the main git repos. Use Gradle or Android Studio to build. - git clone https://github.com/guardianproject/ChatSecureAndroid.git - cd ChatSecureAndroid - git submodule update --init - - -### ant setup - -We use `ant` to make our official releases and automated test builds. If you -are not familiar with Eclipse, then it is easier to start with the `ant` -build: - - export ANDROID_HOME=/path/to/android-sdk - ./update-ant-build.sh - ant clean debug - -Then the installable APK will be in **bin/ChatSecure-debug.apk**. - - -### Eclipse setup - -1. Start by adding ChatSecureAndroid to Eclipse by going to _File_ -> _New_ -> -_Project..._ -> _Android project from existing code_. - -2. Open the ChatSecureAndroid folder that was just cloned from git. - -3. Eclipse will next show a list of subprojects to import, all of the -libraries with _New Project Name_ of **library** must be renamed after the -project name, i.e. SlidingMenu, AndroidEmojiInput, ViewPagerIndicator. - -4. Click *Deselect All*. The sample and example projects are not needed, and -can cause conflicts. - -5. Select __ChatSecure__ again by clicking the top item in the list. - -6. Outside of Eclipse, open up the text file _project.properties_. Then back -in Eclipse, for each line that starts with `android.library.reference`, select -that path from the list of included sub-projects in Eclipse. - -Now you should be ready to build ChatSecure! - - -## Test Instructions - -`mvn test` - -See robo-tests/README.md for eclipse instructions. - -Currently the instrumented target tests (to be run on a device) in the directory `tests` are empty. - - -## Logging - -`adb shell setprop log.tag.GB.XmppConnection DEBUG` - - -## Building for a Locale - -ant -Dgibberbot.locale=fa release