Skip to content
Snippets Groups Projects
Commit 4bb6f6d8 authored by Lyle Johnson's avatar Lyle Johnson
Browse files

Added a dependency on the :configure task for the :compile task

parent 4129e105
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ hoe = Hoe.spec "FXRuby" do ...@@ -32,7 +32,7 @@ hoe = Hoe.spec "FXRuby" do
end end
# Make sure extension is built before tests are run # Make sure extension is built before tests are run
task :test => [:build] task :test => [:compile]
# ... project specific tasks ... # ... project specific tasks ...
...@@ -169,6 +169,9 @@ Rake::ExtensionTask.new("fox16", hoe.spec) do |ext| ...@@ -169,6 +169,9 @@ Rake::ExtensionTask.new("fox16", hoe.spec) do |ext|
end end
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 # 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 # c:/ruby-1.8.6-p383-preview2/devkit/msys/1.0.11/usr/local/share/swig/1.3.22
# before running swig on MinGW. # before running swig on MinGW.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment