Commit 94370fe7510b1031070f1f100890e2351d099110

Updated Rakefile to not talk about tests anymore, but only specifications.

git-svn-id: svn+ssh://rubyforge.org/var/svn/piston/trunk@110 d6c2ea82-c31b-0410-8381-e9c44f9824c5

Commit diff

Rakefile

 
11require 'rubygems'
2require 'rake/testtask'
32require 'rake/gempackagetask'
43require 'rake/contrib/rubyforgepublisher'
54require 'spec/rake/spectask'
1414RUBY_FORGE_PROJECT = "piston"
1515RUBY_FORGE_USER = "fbos"
1616
17task :default => :test
18Rake::TestTask.new { |t|
19 t.pattern = 'test/**/*_test.rb'
20 t.verbose = true
21 t.warning = false
22}
17task :default => :specs
2318
2419# Create compressed packages
25dist_dirs = [ "lib", "test"]
20dist_dirs = [ "lib", "spec"]
2621
2722spec = Gem::Specification.new do |s|
2823 s.name = PKG_NAME
2929 s.executables = ["piston"]
3030 s.default_executable = "piston"
3131
32 s.files = [ "CHANGELOG", "README", "LICENSE", "Rakefile" ] + FileList["{contrib,bin,test,lib}/**/*"].to_a
32 s.files = [ "CHANGELOG", "README", "LICENSE", "Rakefile" ] + FileList["{contrib,bin,spec,lib}/**/*"].to_a
3333
3434 s.require_path = 'lib'
3535 s.has_rdoc = false
toggle raw diff