cookbook 'android-sdk', '= 0.0.0'
android-sdk (6) Versions 0.0.0 Follow7
Installs Google Android SDK
cookbook 'android-sdk', '= 0.0.0', :supermarket
knife supermarket install android-sdk
knife supermarket download android-sdk
Description
This cookbook will install Google Android SDK.
The default recipe of this Chef cookbook will:
- Download and install/upgrade Android SDK (not ADT)
- Update SDK dependencies to install some Android platforms (
--filter
list can be customized in cookbook attributes) - Define a default
ANDROID_HOME
environment variable (via/etc/profile.d/...
mechanism) - Add
ANDROID_HOME/tools
andANDROID_HOME/platform-tools
to defaultPATH
environment variable (via/etc/profile.d/...
mechanism)
Requirements
- Depends on opscode/ark and opscode/java cookbooks
- This cookbook currently supports Linux/i386 platforms, but only Ubuntu/x86_64 since Ubuntu 11.10 (because of MultiArch dependency). See https://github.com/travis-ci/travis-worker/issues/56 for more details. Support of other Linux distributions with 64-bit architecture is planned.
Attributes
TODO (work in progress)
Installation and Usage
This cookbook is released at http://community.opscode.com/cookbooks/android-sdk and its original git repository is https://github.com/gildegoma/chef-android-sdk.
- Find your favourite way (Berkhelf, Librarian-Chef, knife-github-cookbooks, Git submodule, Opscode community API or even tarball download) to install this cookbook (and its dependency).
- Include the
android-sdk::default
recipe to your run list or inside your cookbook. - Provision!
Quality Assurance
Continous Integration
This Cookbook is being tasted by Travis CI:
Automated validations are following:
* Static Analysis of Ruby code with tailor lint tool
* Static Analysis of Chef Cookbooks with foodcritic lint tool
* knife cookbook test
in a very basic sandbox
* PENDING: Expectations described with RSpec examples with ChefSpec
* PENDING: Run true chef (matrix) on travis VM!
Development and Testing
During development, this cookbook is locally tested in following environments:
* Development with recent versions of Chef-Solo and Ubuntu (with great help of Berkshelf, Vagrant and Virtualbox and other tools provided by the Chef community).
* Integration with great help of Opscode test-kitchen
License and Credits
- Thanks to:: Ralf Kistner, for all relevant information to create original cookbook
Thanks to:: Travis CI Project, for motivating the creation of this cookbook
Copyright:: 2013, Gilles Cornu
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Dependent cookbooks
java >= 0.0.0 |
ark >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.