Sha256: 7beab0e5703cf78c55e6d09b60ec0712cc9993cf49475f1928cf6c4ad58205b4

Contents?: true

Size: 1.01 KB

Versions: 9

Compression:

Stored size: 1.01 KB

Contents

###
# wxRuby3 rake file
# Copyright (c) M.J.N. Corino, The Netherlands
###

require_relative './configure'

namespace :wxruby do

  task :run, [:app] => 'config:bootstrap' do |t, args|
    Rake::Task[:build].invoke
    WXRuby3.config.run args[:app]
  end

  task :debug, [:app] => 'config:bootstrap' do |t, args|
    Rake::Task[:build].invoke
    WXRuby3.config.debug args[:app]
  end

  task :test => 'config:bootstrap' do |t, args|
    Rake::Task[:build].invoke
    tests = args.extras - [':nodep']
    tests << ENV['TEST'] if ENV['TEST']
    WXRuby3.config.test *tests
  end

  task :irb => 'config:bootstrap' do |t, args|
    Rake::Task[:build].invoke
    WXRuby3.config.irb
  end

  task :exec => 'config:bootstrap' do |t, args|
    WXRuby3.config.execute args.extras
  end

end

desc "Run wxRuby tests"
task :test => 'wxruby:test'

task :tests => 'wxruby:test'

desc 'Run wxRuby (sample) app'
task :run, [:app] => 'wxruby:run'

desc 'Debug wxRuby (sample) app'
task :debug, [:app] => 'wxruby:debug'

task :irb => 'wxruby:irb'

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 rakelib/run.rake
wxruby3-0.9.0.pre.rc.2 rakelib/run.rake
wxruby3-0.9.0.pre.rc.1 rakelib/run.rake
wxruby3-0.9.0.pre.beta.14 rakelib/run.rake
wxruby3-0.9.0.pre.beta.13 rakelib/run.rake
wxruby3-0.9.0.pre.beta.11 rakelib/run.rake
wxruby3-0.9.0.pre.beta.10 rakelib/run.rake
wxruby3-0.9.0.pre.beta.9 rakelib/run.rake
wxruby3-0.9.0.pre.beta.8 rakelib/run.rake