Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

aafwu00/puppet-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
김태호
Oct 31, 2013
c27e35c · Oct 31, 2013

History

34 Commits
Oct 30, 2013
Oct 30, 2013
Apr 19, 2013
Oct 30, 2013
Jun 14, 2013
Oct 30, 2013
Oct 30, 2013
Apr 9, 2013
Apr 9, 2013
Oct 30, 2013
Apr 9, 2013
Oct 30, 2013

Repository files navigation

Android Puppet Module for Boxen

Build Status

Usage

The sdk is available:

include android::sdk

The ndk is also available:

include android::ndk

ensure a tools is installed

include android::tools

ensure a platform-tools is installed

include android::platform_tools

ensure a build-tools is installed

android::build_tools { '18.1.1': }

The 3, 4, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17 and 18 version is also available:

include android::18

ensure a version is installed for a certain android version

# install 18 version for default(platform, add_on)
android::version { '17': }

# install 18 version for all
android::version { '18':
  options => ['platform', 'add_on', 'system_image', 'sample'] 
}

ensure a platform is installed for a certain android version

android::platform { 'android-18': }

ensure a system_image is installed for a certain android version

android::system_image { 'sysimg-18': }

ensure a add_on is installed for a certain android version

android::add_on { 'addon-google_apis-google-18': }

ensure a sample is installed for a certain android version

android::sample { 'sample-18': }

ensure a extra is installed for a certain android version

android::extra { 'extra-google-google_play_services': }

ensure a doc is installed

include android::doc

ensure a studio is installed

include android::studio

Required Puppet Modules

  • boxen
  • homebrew
  • stdlib
  • java

Environment

Once installed, you can access the following variables in your environment, projects, etc:

  • ANDROID_HOME: android sdk home directory
  • ANDROID_NDK_HOME: android ndk home directory

Development

Set GITHUB_API_TOKEN in your shell with a Github oAuth Token to raise your API rate limit. You can get some work done without it, but you're less likely to encounter errors like Unable to find module 'boxen/puppet-boxen' on https://github.com.

Then write some code. Run script/cibuild to test it. Check the script directory for other useful tools.