From 4bb6f6d8c62b7cf5f5ee64e9370819a0b2e4a0e4 Mon Sep 17 00:00:00 2001 From: Lyle Johnson <lyle@lylejohnson.name> Date: Tue, 15 Sep 2009 12:57:32 -0500 Subject: [PATCH] Added a dependency on the :configure task for the :compile task --- Rakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 80d5f70..021ef60 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. -- GitLab