drumherum 0.1.12 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile.rb +5 -6
- data/lib/drumherum/rake.rb +30 -1
- data/version.rb +1 -1
- metadata +1 -1
data/Rakefile.rb
CHANGED
@@ -35,15 +35,10 @@ end
|
|
35
35
|
|
36
36
|
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
38
|
# ----------------------------------------------------------------------------------------------
|
42
39
|
# Local Tasks
|
43
40
|
#
|
44
|
-
|
45
|
-
remove_task 'ridocs'
|
46
|
-
remove_task 'rdoc'
|
41
|
+
|
47
42
|
remove_task 'audit'
|
48
43
|
remove_task 'dcov'
|
49
44
|
remove_task 'debug_email'
|
@@ -53,6 +48,10 @@ remove_task 'deps:email'
|
|
53
48
|
remove_task 'install_gem'
|
54
49
|
remove_task 'multi'
|
55
50
|
remove_task 'newb'
|
51
|
+
remove_task 'publish_docs'
|
52
|
+
remove_task 'rdoc'
|
53
|
+
remove_task 'ridocs'
|
54
|
+
|
56
55
|
#Dir['tasks/**/*.rake'].each { |t| load t }
|
57
56
|
|
58
57
|
|
data/lib/drumherum/rake.rb
CHANGED
@@ -37,11 +37,40 @@ end
|
|
37
37
|
# Task :publish
|
38
38
|
#
|
39
39
|
desc 'publish all on github and rubygems, reinstall gem'
|
40
|
-
task :publish => [ :utf8, :
|
40
|
+
task :publish => [ :utf8, :doku, :rubygems_publish, :gem_uninstall, :git_publish, :git_publish_docs, :sleep_15, :utf8, :gem_install] do
|
41
41
|
puts 'done.'
|
42
42
|
end
|
43
43
|
|
44
44
|
|
45
|
+
|
46
|
+
# -------------------------------------------------------------------------------------------------------
|
47
|
+
# docs
|
48
|
+
#
|
49
|
+
|
50
|
+
# Task :docs
|
51
|
+
#
|
52
|
+
desc 'regenerate yard documentation'
|
53
|
+
task :doku => [ :clobber_docs, :yard, :yard_post] do
|
54
|
+
puts 'done.'
|
55
|
+
end
|
56
|
+
|
57
|
+
|
58
|
+
# Task :yard_post
|
59
|
+
#
|
60
|
+
desc 'postprocessing fpr yard docs'
|
61
|
+
task :yard_post do
|
62
|
+
Dir.chdir "./doc" do
|
63
|
+
if Hoe::WINDOZE
|
64
|
+
sh 'copy frames.html index.htm'
|
65
|
+
else
|
66
|
+
sh 'sudo cp frames.html index.htm'
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
45
74
|
|
46
75
|
# -------------------------------------------------------------------------------------------------------
|
47
76
|
# git
|
data/version.rb
CHANGED