updates to output and rmoved uniq package name

This commit is contained in:
brianleroux
2010-08-31 15:36:09 -07:00
parent 5a90792e0d
commit 6cd1d8113e
2 changed files with 11 additions and 17 deletions
+2 -14
View File
@@ -1,17 +1,4 @@
# ProjectName
# |
# |-tmp ......... Temporary directory for generated projects to launch into emulators or devices. Ignore.
# | '-android ... A generated Android project.
# |
# |-opt ......... Optional platform specific code. Plugins install native code here.
# | |-android ... Java files
# | '-iphone .... Objective C
# |
# |-bin ......... Generated applications.
# | '-android ... project.apk
# |
# '-www ......... html, css and javascript (optional config.xml for additional properties)
#
# Creates a new PhoneGap/Android project from ./example
class Generate
def initialize(name)
if name.nil?
@@ -21,5 +8,6 @@ class Generate
from = File.join ROOT, "example"
to = File.join FileUtils.pwd, name
FileUtils.cp_r from, to
puts "Generated #{ to }"
end
end