File tree Expand file tree Collapse file tree 4 files changed +2
-750
lines changed Expand file tree Collapse file tree 4 files changed +2
-750
lines changed Original file line number Diff line number Diff line change 1
- require 'rdoc/task'
2
1
require 'rubygems'
3
2
4
3
require "#{ File . expand_path ( File . dirname ( __FILE__ ) ) } /lib/git/version"
5
4
6
5
task :default => :test
7
6
8
- desc "Upload Docs"
9
- task :upload_docs do |t |
10
- system ( 'rsync -rv --delete doc/ git.rubyforge.org:/var/www/gforge-projects/git' )
11
- end
12
-
13
- desc "Run Unit Tests"
7
+ desc 'Run Unit Tests'
14
8
task :test do |t |
15
9
sh 'git config --global user.email "git@example.com"' if `git config user.email` . empty?
16
10
sh 'git config --global user.name "GitExample"' if `git config user.name` . empty?
17
11
18
12
$VERBOSE = true
13
+
19
14
require File . dirname ( __FILE__ ) + '/tests/all_tests.rb'
20
15
end
21
16
22
- Rake ::RDocTask . new do |rdoc |
23
- rdoc . rdoc_dir = 'rdoc'
24
- rdoc . title = "ruby-git #{ Git ::VERSION } "
25
- rdoc . rdoc_files . include ( 'README*' )
26
- rdoc . rdoc_files . include ( 'lib/**/*.rb' )
27
- end
28
17
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments