Git should ignore the generated parsers.
[torspec-validations.git] / Rakefile
blob79a74daaa0ae2ebee5a7bc1dcab61010aab38e14
1 require 'rake/testtask'
2 require 'spec/rake/spectask'
4 task :default => :spec
6 Spec::Rake::SpecTask.new(:spec) do |t|
7   t.warning = true
8   t.spec_files = FileList["#{File.dirname(__FILE__)}/spec/**/*_spec.rb"]
9   t.spec_opts = %w(--backtrace --diff --color)
10   t.libs << "#{File.dirname(__FILE__)}/spec"
11   t.libs << "#{File.dirname(__FILE__)}/spec/torspec"
12 end
14 desc "Build a gem file."
15 task :build do
16   system "gem build torspec.gemspec"
17 end
19 # Load custom rake tasks.
20 Dir["#{File.dirname(__FILE__)}/lib/tasks/**/*.rake"].sort.each do |task|
21   load task
22 end