roboscala / sbt-robovm

An sbt plugin for iOS development in Scala
BSD 2-Clause "Simplified" License
108 stars 16 forks source link

Added 'native' task #7

Closed iaraknes closed 10 years ago

iaraknes commented 10 years ago

Added a 'native' task in order to run a native console application. I added parameters 'os' and 'targetType' to method 'launchTask', and pass in the previously defined values as parameters from 'iphoneSimTask', 'ipadSimTask' and 'ipaTask'. I also explicitly defined a temporary directory ("target/native"), so that the user can locate the generated binaries. I haven't tested the i-device specific functionality after the change, but launching a native console application now works on my system.

ajhager commented 10 years ago

Thank you very much for the pull request. Can you please supply a simple demo to https://github.com/ajhager/scala-ios-demos? I am having some issues getting your native task to work with robovm 0.0.8. I will continue to work on it, but it might help if I have a working demo case.

ajhager commented 10 years ago

This works great after I reset my robovm cache. Thanks again!