Skip to content
Browse files

fuxxor with target var

  • Loading branch information...
1 parent 2a2e0b8 commit e6b114c2cdbbcd472930248dbe7bc1bf8d35f1c1 @jonathanstark committed Jul 30, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/package.rb
View
4 lib/package.rb
@@ -91,7 +91,7 @@ def clobber
FileUtils.rm_r(@path) if File.exists? @path
FileUtils.mkdir_p @path
end
-
+
# removes local.properties and recreates based on android_sdk_path
# then generates framework/phonegap.jar
def build_jar
@@ -109,7 +109,7 @@ def build_jar
# runs android create project
# TODO need to allow more flexible SDK targetting via config.xml
def create_android
- target_id = 'android-4'
+ target_id = 5
`android create project -t #{ target_id } -k #{ @pkg } -a #{ @name } -n #{ @name.gsub(' ','') } -p #{ @path }`
end

0 comments on commit e6b114c

Please sign in to comment.
Something went wrong with that request. Please try again.