public
Rubygem
Description: HTML Abstraction Markup Language - A Markup Haiku
Homepage: http://haml.hamptoncatlin.com
Clone URL: git://github.com/nex3/haml.git
Search Repo:
Don't load Haml in the Rakefile unless it's necessary.
nex3 (author)
Thu May 15 17:48:02 -0700 2008
commit  6fc675ef4e5193cccb117999fb13436f86c7ec77
tree    bcb033e412386babc375cdde79f738ec40c4e606
parent  b9d4015743b66f3db93eceec5bfc283919f1da8a
...
29
30
31
32
33
34
35
...
41
42
43
 
 
44
45
46
...
29
30
31
 
32
33
34
...
40
41
42
43
44
45
46
47
0
@@ -29,7 +29,6 @@
0
 # ----- Packaging -----
0
 
0
 require 'rake/gempackagetask'
0
-require 'lib/haml'
0
 load 'haml.gemspec'
0
 
0
 Rake::GemPackageTask.new(HAML_GEMSPEC) do |pkg|
0
@@ -41,6 +40,8 @@
0
 end
0
 
0
 task :revision_file do
0
+ require 'lib/haml'
0
+
0
   if Haml.version[:rev] && !Rake.application.top_level_tasks.include?('release')
0
     File.open('REVISION', 'w') { |f| f.puts Haml.version[:rev] }
0
   elsif Rake.application.top_level_tasks.include?('release')

Comments

    No one has commented yet.