Permalink
Browse files

Always clean after you.

  • Loading branch information...
1 parent c756f49 commit ca101115a70cbb42c977852aa7a0b948f2b91c4f @luislavena luislavena committed Jun 26, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 tasks/native.rake
View
3 tasks/native.rake
@@ -12,6 +12,9 @@ Rake::ExtensionTask.new('sqlite3_native', HOE.spec) do |ext|
# reference to the sqlite3 library
sqlite3_lib = File.expand_path(File.join(File.dirname(__FILE__), '..', 'vendor', 'sqlite3'))
+ # clean binary folders always
+ CLEAN.include("#{ext.lib_dir}/?.?")
+
# automatically add build options to avoid need of manual input
if RUBY_PLATFORM =~ /mswin|mingw/ then
# define target for extension (supporting fat binaries)

0 comments on commit ca10111

Please sign in to comment.