|
1 | 1 | # -*- ruby encoding: utf-8 -*-
|
| 2 | +# vim: syntax=ruby |
2 | 3 |
|
3 |
| -require "rubygems" |
4 |
| -require 'hoe' |
5 |
| - |
6 |
| -Hoe.plugin :doofus |
7 |
| -Hoe.plugin :git |
8 |
| -Hoe.plugin :gemspec |
9 |
| - |
10 |
| -Hoe.spec 'net-ldap' do |spec| |
11 |
| - # spec.rubyforge_name = spec.name |
12 |
| - |
13 |
| - spec.developer("Francis Cianfrocca", "[email protected]") |
14 |
| - spec.developer("Emiel van de Laar", "[email protected]") |
15 |
| - spec.developer("Rory O'Connell", "[email protected]") |
16 |
| - spec.developer("Kaspar Schiess", "[email protected]") |
17 |
| - spec.developer("Austin Ziegler", "[email protected]") |
18 |
| - spec.developer("Michael Schaarschmidt", "[email protected]") |
19 |
| - |
20 |
| - spec.remote_rdoc_dir = '' |
21 |
| - spec.rsync_args << ' --exclude=statsvn/' |
22 |
| - |
23 |
| - spec.urls = %w(http://rubyldap.com/' 'https://github.com/ruby-ldap/ruby-net-ldap) |
24 |
| - spec.licenses = ['MIT'] |
25 |
| - |
26 |
| - spec.history_file = 'History.rdoc' |
27 |
| - spec.readme_file = 'README.rdoc' |
28 |
| - |
29 |
| - spec.extra_rdoc_files = FileList["*.rdoc"].to_a |
30 |
| - |
31 |
| - spec.extra_dev_deps << [ "hoe-git", "~> 1" ] |
32 |
| - spec.extra_dev_deps << [ "hoe-gemspec", "~> 1" ] |
33 |
| - spec.extra_dev_deps << [ "flexmock", ">= 1.3.0" ] |
34 |
| - |
35 |
| - spec.clean_globs << "coverage" |
36 |
| - |
37 |
| - spec.spec_extras[:required_ruby_version] = ">= 1.8.7" |
38 |
| - spec.multiruby_skip << "1.8.6" |
39 |
| - spec.multiruby_skip << "1_8_6" |
40 |
| - |
41 |
| - spec.need_tar = true |
42 |
| -end |
43 |
| - |
44 |
| -# I'm not quite ready to get rid of this, but I think "rake git:manifest" is |
45 |
| -# sufficient. |
46 |
| -namespace :old do |
47 |
| - desc "Build the manifest file from the current set of files." |
48 |
| - task :build_manifest do |t| |
49 |
| - require 'find' |
50 |
| - |
51 |
| - paths = [] |
52 |
| - Find.find(".") do |path| |
53 |
| - next if File.directory?(path) |
54 |
| - next if path =~ /\.svn/ |
55 |
| - next if path =~ /\.git/ |
56 |
| - next if path =~ /\.hoerc/ |
57 |
| - next if path =~ /\.swp$/ |
58 |
| - next if path =~ %r{coverage/} |
59 |
| - next if path =~ /~$/ |
60 |
| - paths << path.sub(%r{^\./}, '') |
61 |
| - end |
62 |
| - |
63 |
| - File.open("Manifest.txt", "w") do |f| |
64 |
| - f.puts paths.sort.join("\n") |
65 |
| - end |
66 | 4 |
|
67 |
| - puts paths.sort.join("\n") |
68 |
| - end |
69 | 5 | end
|
70 | 6 |
|
71 |
| -desc "Run a full set of integration and unit tests" |
72 |
| -task :cruise => [:test, :spec] |
73 |
| - |
74 |
| -# vim: syntax=ruby |
| 7 | +task :default => :test |
0 commit comments