diff --git a/Rakefile b/Rakefile index 80d5f70648462326f554451bc11f18f7b2122105..021ef6020b4b63457ca972b92f195b17edcaa616 100755 --- a/Rakefile +++ b/Rakefile @@ -32,7 +32,7 @@ hoe = Hoe.spec "FXRuby" do end # Make sure extension is built before tests are run -task :test => [:build] +task :test => [:compile] # ... project specific tasks ... @@ -169,6 +169,9 @@ Rake::ExtensionTask.new("fox16", hoe.spec) do |ext| end end +# Make the compile task's list of dependencies begin with the :configure task +Rake::Task['compile'].prerequisites.unshift :configure + # Set environment variable SWIG_LIB to # c:/ruby-1.8.6-p383-preview2/devkit/msys/1.0.11/usr/local/share/swig/1.3.22 # before running swig on MinGW.