Files
RubyMotion/test/test-android/Rakefile
2014-04-10 00:40:02 +02:00

17 lines
500 B
Ruby

# -*- coding: utf-8 -*-
$:.unshift("../../lib")
require 'motion/project/template/android'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'TestAndroid'
app.api_version = '18'
app.sdk_path = File.expand_path('~/src/android-sdk-macosx')
app.ndk_path = File.expand_path('~/src/android-ndk-r9d')
# Make sure the main file is compiled and executed first.
ary = app.files
ary.delete('./app/main.rb')
ary.unshift('./app/main.rb')
end