forked from avescodes/ClothRed
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
72 lines (69 loc) · 1.58 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/usr/bin/env rake
require "rake"
require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "ci/reporter/rake/rspec"
require "rake/testtask"
require 'geminabox/rake_task'
desc "Build Gem and push it to Rally Gem server"
task :gem_push => ["build", "rally:publish"]
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/test*.rb']
t.verbose = true
end
#begin
# gem 'ci_reporter'
#rescue LoadError => e
# puts "#{e}: Continuing without XML output"
#end
#
#unless e
# require 'ci/reporter/rake/test_unit'
#end
#
#
##List of tasks available
#
#task :gem => ["pkg", "test"]
#
#if e
# task :test
#else
# task :test => ["ci:setup:testunit"]
#end
#
#
##Gem::manage_gems
#
#spec = Gem::Specification.new do |s|
# s.name = "ClothRed"
# s.version = "0.4.1"
# s.author = 'Phillip "CynicalRyan" Gawlowski'
# s.email = "cmdjackryan@gmail.com"
# s.platform = Gem::Platform::RUBY
# s.summary = "RedCloth in reverse: Converting HTML into Textile markup"
# s.files = FileList["{lib,test}/**/*"].exclude("nbproject",".svn").to_a
# s.autorequire = "clothred"
# s.has_rdoc = true
# s.rubyforge_project ="clothred"
#end
#
#Rake::GemPackageTask.new(spec) do |pkg|
# pkg.need_tar = true
#end
#
#Rake::TestTask.new do |test|
# test.name = "test"
# test.warning = true
# test.verbose = false
# test.test_files = FileList['test/test*.rb']
#end
#
#Rake::RDocTask.new do |rd|
# rd.title = "ClothRead documentation"
# rd.rdoc_files.exclude("Rakefile.rb")
# rd.rdoc_files.include("LICENSE.rdoc", "lib/clothred.rb", "README.rdoc")
# rd.rdoc_dir = "doc/html"
# rd.main = "README.rdoc"
#end