Sha256: 344bf000196285802717a4191b956b6b9f157deb2e5e321cbb3379c1bf88db64

Contents?: true

Size: 888 Bytes

Versions: 8

Compression:

Stored size: 888 Bytes

Contents

$:.unshift("/Library/RubyMotion/lib")
require 'motion/project'
require "bundler/gem_tasks"
require "bundler/setup"

$:.unshift("./lib/")
require './lib/formotion'

Motion::Project::App.setup do |app|
  # Use `rake config' to see complete project settings.
  app.name = 'Formotion'
end

namespace :spec do
  task :units do
    App.config.spec_mode = true
    spec_files = App.config.spec_files
    functional_files = Dir.glob('./spec/functional/**/*.rb')
    spec_files -= functional_files
    App.config.instance_variable_set("@spec_files", spec_files)
    Rake::Task["simulator"].invoke
  end

  task :functionals do
    App.config.spec_mode = true
    spec_files = App.config.spec_files
    row_type_files = Dir.glob('./spec/row_type/**/*.rb')
    spec_files -= row_type_files
    App.config.instance_variable_set("@spec_files", spec_files)
    Rake::Task["simulator"].invoke
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
formotion-1.2 Rakefile
formotion-1.1.5 Rakefile
formotion-1.1.4 Rakefile
formotion-1.1.3 Rakefile
formotion-1.1.2 Rakefile
formotion-1.1.1 Rakefile
formotion-1.1 Rakefile
formotion-1.0 Rakefile