forked from gseitz/android-sbt-project.g8
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nathan Hamblen
committed
Apr 10, 2011
1 parent
b956e72
commit 2088142
Showing
1 changed file
with
13 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,27 +1,24 @@ | |||
# android sbt project | # Android App in Scala | ||
|
|
||
[g8](http://github.com/n8han/giter8) template to get an android sbt project up and running in a matter of seconds | [giter8](http://github.com/n8han/giter8) template to get an Android | ||
sbt project up and running in a matter of seconds | |||
|
|
||
## how to use | ## How to use | ||
|
|
||
to use this template, g8 needs to be installed first. | To use this template, g8 needs to be installed first. Read g8's [readme](http://github.com/n8han/giter8#readme). | ||
read g8's [readme](http://github.com/n8han/giter8#readme) for more information | |||
|
|
||
all done? now fire up your favorite shell and enter | All done? Now fire up your favorite shell and enter | ||
|
|
||
g8 gseitz/android-sbt-project | g8 n8han/android-app | ||
cd <name-of-app> | cd <name-of-app> | ||
sbt update | sbt update | ||
sbt compile | sbt compile | ||
|
|
||
## what you get | ## What you get | ||
|
|
||
your android sbt project contains 2 subprojects: | Your android sbt project contains 2 subprojects: | ||
|
|
||
* MainProject | * MainProject | ||
* generated AndroidManifest.xml | * generated AndroidManifest.xml | ||
* MainActivity.scala (aka "hello world" activity) | * MainActivity.scala (the "hello world" activity) | ||
* TestProject | * TestProject | ||
|
|||
## credit | |||
this g8 template is based on the default [g8 template](http://github.com/n8han/giter8.g8) and the project generated by [jberkel](http://github/jberkel)'s [android-plugin](http://github.com/jberkel/android-plugin) |