From 96a69c9670878fa02cd5632596d06c6b0758c1a2 Mon Sep 17 00:00:00 2001
From: Lyle Johnson <lyle@lylejohnson.name>
Date: Wed, 11 Mar 2009 14:55:46 -0500
Subject: [PATCH] Added the :install task to the Rakefile

---
 Rakefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Rakefile b/Rakefile
index 5140512..34dc7a8 100755
--- a/Rakefile
+++ b/Rakefile
@@ -15,7 +15,7 @@ ISCC = "C:\\Progra~1\\InnoSe~1\\ISCC.exe"
 Hoe.new("FXRuby", PKG_VERSION) do |p|
   # ... project specific data ...
   p.blog_categories = %w{FXRuby}
-  p.clean_globs = ["ext/fox16/Makefile", "ext/fox16/*.o", "ext/fox16/*.bundle", "ext/fox16/mkmf.log", "ext/fox16/conftest.dSYM"]
+  p.clean_globs = [".config", "ext/fox16/Makefile", "ext/fox16/*.o", "ext/fox16/*.bundle", "ext/fox16/mkmf.log", "ext/fox16/conftest.dSYM"]
   p.developer("Lyle Johnson", "lyle@lylejohnson.name")
   p.extra_rdoc_files = ["rdoc-sources", File.join("rdoc-sources", "README.rdoc")]
   p.remote_rdoc_dir = "doc/api"
@@ -189,6 +189,11 @@ task :build => [:configure] do
   ruby "install.rb setup"
 end
 
+desc "Install it."
+task :install => [:build] do
+  ruby "install.rb install"
+end
+
 task :scintilla do
   ruby "scripts/iface.rb -i ~/src/fxscintilla/scintilla/include/Scintilla.iface -o lib/fox16/scintilla.rb"
 end
-- 
GitLab