]> git.wincent.com - wikitext.git/commitdiff
Rakefile: run "make" target before "gem build"
authorWincent Colaiuta <win@wincent.com>
Mon, 19 Apr 2010 20:53:56 +0000 (22:53 +0200)
committerWincent Colaiuta <win@wincent.com>
Mon, 19 Apr 2010 21:33:01 +0000 (23:33 +0200)
This is the reincarnation of commit 829011d, which fixed a subtle
problem with a missing file in the built gem.

We basically have to make sure that we've run the "make" target so that
all of the C files, including the Ragel-generated C file, is present in
the directory at the time "gem build" is called.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
Rakefile

index 59c706a790f044b8c333d7dcd45ecaef1407db80..19ead98b46518e3e0f356b0d0ed2e8e00dbab4f4 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -89,7 +89,7 @@ task :upload_rdoc => :rdoc do
 end
 
 desc 'Build gem ("gem build")'
-task :build do
+task :build => :make do
   system 'gem build wikitext.gemspec'
 end