sam / do fork watch download tarball
public
Rubygem
Description: DataObjects
Homepage: http://rubyforge.org/projects/dorb
Clone URL: git://github.com/sam/do.git
Search Repo:
Added Makefile as extension buildign requirement.

This solve the issue of no existing compiled extension when
calling 'rake spec' directly.
luislavena (author)
Sat Apr 26 05:27:04 -0700 2008
commit  5221a689499cf0d111b1bf4995591056ce76a29a
tree    247e7f587883dc2569eab898ae5e2a2593883a5d
parent  328f63320ffceb14779dd282436d2acd7e666dc3
...
23
24
25
26
 
27
28
29
...
23
24
25
 
26
27
28
29
0
@@ -23,7 +23,7 @@
0
     desc "Compile the extension"
0
     task :compile => ["lib/#{ext_name}"]
0
 
0
- file "ext/#{ext_name}" => FileList["ext/"ext/*.c", "ext/*.h"] do
0
+ file "ext/#{ext_name}" => FileList["ext/Makefile", "ext/*.c", "ext/*.h"] do
0
       # Visual C make utility is named 'nmake', MinGW conforms GCC 'make' standard.
0
       make_cmd = RUBY_PLATFORM =~ /mswin/ ? 'nmake' : 'make'
0
       Dir.chdir('ext') do

Comments

    No one has commented yet.