-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Jun Matsushita edited this page Jul 4, 2016
·
3 revisions
Welcome to the openmentoring-mobile wiki!
(tested on OSX)
git clone https://gitlab.com/fdroid/fdroidserver.git
cd fdroidserver
virtualenv env/
source env/bin/activate
pip install -e .
python2 setup.py install
Add to .git/config
[remote "upstream"]
url = https://gitlab.com/fdroid/fdroiddata.git
fetch = +refs/heads/*:refs/remotes/upstream/*
git pull upstream master
source ../fdroidserver/env/bin/activate
fdroid readmeta
fdroid rewritemeta org.iilab.openmentoring
fdroid checkupdates org.iilab.openmentoring (or edit metadata/org.iilab.opementoring.txt if auto update don't work)
fdroid lint org.iilab.openmentoring
fdroid build -v -l org.iilab.openmentoring (or fdroid build -v -l org.iilab.openmentoring:VERSIONCODE)
Bump config.xml
version.
Locally build and commit generated code in platform/android
to openmentoring-mobile
repo.
Edit metadata/org.iilab.openmentoring.txt
Follow local fdroid build instruction above to test.
Deleting the build/org.iilab.openmentoring/ folder is not enough to reset it! Linting errors can happen on both the platform/android/build.gradle and the platform/android/cordovaLib/build.gradle Totally confused about not being able to run the local build because of this ENV error: https://gitlab.com/fdroid/fdroidserver/issues/171