diff --git a/README.md b/README.md index e0350e0..e33f083 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Running `rake` in your project directory will execute the default task, which pr rake test:run # runs test/bin/FooTest.loom for the console rake test:sdk[id] # sets the provided SDK version into test/loom.config rake version # reports loomlib version - (using loomtasks v3.0.0) + (using loomtasks v3.0.1) If you are looking for more detail on any of the tasks, use `rake help`. diff --git a/lib/tasks/rakefiles/support.rb b/lib/tasks/rakefiles/support.rb index 2081742..253b2fb 100644 --- a/lib/tasks/rakefiles/support.rb +++ b/lib/tasks/rakefiles/support.rb @@ -5,7 +5,7 @@ module LoomTasks - VERSION = '3.0.0' + VERSION = '3.0.1' EXIT_OK = 0 diff --git a/lib/tasks/templates/LoomlibTest.ls.erb b/lib/tasks/templates/LoomlibTest.ls.erb index 42ef15b..3cbe60c 100644 --- a/lib/tasks/templates/LoomlibTest.ls.erb +++ b/lib/tasks/templates/LoomlibTest.ls.erb @@ -1,6 +1,7 @@ package { import system.application.ConsoleApplication; + import system.Process; import pixeldroid.bdd.SpecExecutor; @@ -13,9 +14,11 @@ package { SpecExecutor.parseArgs(); - SpecExecutor.exec([ + var returnCode:Number = SpecExecutor.exec([ <%= lib_name %>Spec ]); + + Process.exit(returnCode); } }