Sha256: b820844fea42b9f0eb471bde6f145db4bc2f44087eda658a68cb2d677392e3e1
Contents?: true
Size: 796 Bytes
Versions: 2
Compression:
Stored size: 796 Bytes
Contents
require 'rake' require 'rake/testtask' require 'rake/clean' require 'rbconfig' include Config CLEAN.include("**/*.gem", "**/*.rbc", ".rbx") namespace 'gem' do desc 'Create the win32-taskscheduler gem' task :create => [:clean] do spec = eval(IO.read('win32-taskscheduler.gemspec')) Gem::Builder.new(spec).build end desc 'Install the win32-taskscheduler library as a gem' task :install => [:create] do file = Dir['win32-taskscheduler*.gem'].first sh "gem install #{file}" end end desc 'Run the example code' task :example do ruby '-Iib examples/taskscheduler_example.rb' end desc 'Run the test suite for the win32-taskscheduler library' Rake::TestTask.new do |t| t.verbose = true t.warning = true end task :default => :test
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
win32-taskscheduler-0.2.2 | Rakefile |
win32-taskscheduler-0.2.1 | Rakefile |