Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 51 lines (40 sloc) 1.148 kb
8d085def » zenspider
2006-02-23 Updated History for 3.0 release.
1 # -*- ruby -*-
2
24405fc1 » zenspider
2010-11-19 + Added rake task descriptions (grosser).
3 $LOAD_PATH << 'lib'
86a854ff » drbrain
2006-02-07 Rakefile for ZenTest.
4
266b9d25 » zenspider
2006-10-12 Hoe'd the rakefile
5 require 'rubygems'
6 require 'hoe'
cbc2ef16 » zenspider
2009-02-20 Fixed minitest dependency for CI
7
8 Hoe.add_include_dirs("../../minitest/dev/lib")
9
9dcc860c » zenspider
2009-06-23 - Fixed rakefile to include seattlerb plugin. release was flubbed
10 Hoe.plugin :seattlerb
86a854ff » drbrain
2006-02-07 Rakefile for ZenTest.
11
44077602 »
2011-08-11 Don't cause binary name conflicts.
12 Hoe.spec "SlimTest" do
6463a882 » zenspider
2009-06-03 Prepped for release
13 developer 'Ryan Davis', 'ryand-ruby@zenspider.com'
14 developer 'Eric Hodel', 'drbrain@segment7.net'
86a854ff » drbrain
2006-02-07 Rakefile for ZenTest.
15 end
16
24405fc1 » zenspider
2010-11-19 + Added rake task descriptions (grosser).
17 desc "run autotest on itself"
b6dfd376 » zenspider
2006-07-19 Added autotest rake rule.
18 task :autotest do
94e15004 » zenspider
2007-05-23 bin/autotest masks Dir[] warnings from rubygems because they are dumb.
19 ruby "-Ilib -w ./bin/autotest"
be6df188 » zenspider
2006-04-06 Removed redundancies in rakefile. Using gem spec for most stuff now.
20 end
8d085def » zenspider
2006-02-23 Updated History for 3.0 release.
21
24405fc1 » zenspider
2010-11-19 + Added rake task descriptions (grosser).
22 desc "update example_dot_autotest.rb with all possible constants"
eded3a48 » zenspider
2007-03-21 Added automatic updating for example_dot_autotest.rb
23 task :update do
1509930f » zenspider
2008-02-12 Added email_notify, jabber_notify, and rcov autotest plugins.
24 system "p4 edit example_dot_autotest.rb"
eded3a48 » zenspider
2007-03-21 Added automatic updating for example_dot_autotest.rb
25 File.open "example_dot_autotest.rb", "w" do |f|
26 f.puts "# -*- ruby -*-"
27 f.puts
28 Dir.chdir "lib" do
29 Dir["autotest/*.rb"].sort.each do |s|
1509930f » zenspider
2008-02-12 Added email_notify, jabber_notify, and rcov autotest plugins.
30 next if s =~ /rails|discover/
eded3a48 » zenspider
2007-03-21 Added automatic updating for example_dot_autotest.rb
31 f.puts "# require '#{s[0..-4]}'"
32 end
33 end
1b21b6a2 » zenspider
2007-03-21 Added default value to shame.
34
35 f.puts
1509930f » zenspider
2008-02-12 Added email_notify, jabber_notify, and rcov autotest plugins.
36
37 Dir["lib/autotest/*.rb"].sort.each do |file|
38 file = File.read(file)
39 m = file[/module.*/].split(/ /).last rescue nil
40 next unless m
41
42 file.grep(/def[^(]+=/).each do |setter|
43 setter = setter.sub(/^ *def self\./, '').sub(/\s*=\s*/, ' = ')
44 f.puts "# #{m}.#{setter}"
45 end
46 end
eded3a48 » zenspider
2007-03-21 Added automatic updating for example_dot_autotest.rb
47 end
1509930f » zenspider
2008-02-12 Added email_notify, jabber_notify, and rcov autotest plugins.
48 system "p4 diff -du example_dot_autotest.rb"
eded3a48 » zenspider
2007-03-21 Added automatic updating for example_dot_autotest.rb
49 end
50
53d26bc2 » drbrain
2006-03-29 Import Test::Rails.
51 # vim:syntax=ruby
52
Something went wrong with that request. Please try again.