Skip to content

hetoug/android-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdaptMobile Android Seed project

A good starting point for future Android apps!

Requirements

Have bitrise, gh, python and homebrew installed on your mac.

For installing homebrew (remember to have xcode installed):

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

For installing the latest python 3:

brew install python3

Needed for creating a Bitrise app project

brew install bitrise

Needed for creating a new private repo for adaptdk organization

brew install gh

Clone and Setup

If you dont wan't to manually copy the git url and then type two commands, then just run this in your terminal. It will clone the seed project and change directory into the project and run the `setup? python script.

git clone [email protected]:adaptdk/adaptmobile-android-seed.git && cd adaptmobile-android-seed && python3 setup.py

Setup (If you already have the project cloned)

Run the python script setup.py and follow the steps for setting up the project.

python3 setup.py

Pre-commit Installation

At the root of the project run this command:

brew list ktlint | brew upgrade ktlint || brew install ktlint && curl -s -L "https://raw.githubusercontent.com/adaptdk/am-ktlint-pre-commit/master/pre-commit" > ../.git/hooks/pre-commit && chmod 755 ../.git/hooks/pre-commit && curl -s -L "https://raw.githubusercontent.com/adaptdk/am-ktlint-editorconfig/master/.editorconfig" > .editorconfig

This will add a pre-commit executable and a .editorconfig for the teams personalized rules. If .editorconfig needs to have rules changed the please change it in am-ktlint-editorconfig to have the rules implemented in existing projects that has the pre-commit.

This will have the code style streamlined in our kotlin projects.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published