Rakefile in win32-security-0.1.4 vs Rakefile in win32-security-0.2.0

- old
+ new

@@ -1,15 +1,13 @@ require 'rake' +require 'rake/clean' require 'rake/testtask' require 'rbconfig' -namespace :gem do - desc "Remove any .gem files in the project" - task :clean do - Dir['*.gem'].each{ |f| File.delete(f) } - end +CLEAN.include('**/*.gem', '**/*.rbc') +namespace :gem do desc "Create the win32-security gem" task :create => [:clean] do spec = eval(IO.read('win32-security.gemspec')) Gem::Builder.new(spec).build end @@ -25,9 +23,15 @@ namespace :test do Rake::TestTask.new(:security) do |t| t.verbose = true t.warning = true t.test_files = Dir['test/test_security.rb'] + end + + Rake::TestTask.new(:acl) do |t| + t.verbose = true + t.warning = true + t.test_files = Dir['test/test_acl.rb'] end Rake::TestTask.new(:sid) do |t| t.verbose = true t.warning = true