Giter Site home page Giter Site logo

generator-android's Introduction

generator-android

Yeoman generator for Android.

  • Build Status
  • Dependency Status
  • devDependency Status
  • Stories in Ready

Getting Started

Invite Yeoman

Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.

$ npm install -g yo

Android Generator

Install generator-android:

npm install -g generator-android

Make a new directory and cd into it:

mkdir my-shiny-project && cd $_

Finally, initiate the generator:

$ yo android

Generators

Available generators:

Note: Generators are to be run from the root directory of your project.

App

Sets up a new Android application project in the current directory. Project is configured to build with Eclipse and ant, soon it will include gradle (#2). The following libraries are included by default:

By default an optimization proguard configuration is enabled with rules for common libraries and issues.

Note: this will change in future version to create several subdirectories where the Android application and test project will be created

Library

Sets up a new Android library in the current directory. The generator creates a subdirectory where the library source lives in and another subdirectory for test project. Build environments that are included:

  • Ant
  • Eclipse
  • Gradle

There are no runtime libraries included, only test libraries:

The test project is based on Robolectric so it can run without emulator.

By default an optimization proguard configuration is enabled with rules for common libraries and issues.

License

MIT License

Analytics

generator-android's People

Contributors

groupsky avatar onyxvd avatar waffle-with-pears avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.