Skip to content

Commit

Permalink
Added Clean rake task.
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdrew committed Sep 19, 2008
1 parent 7cd020d commit 3db806c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .gitignore
@@ -1,5 +1,4 @@
<<<<<<< HEAD:.gitignore
nbproject/
=======
debug.log
>>>>>>> neoryan/master:.gitignore
.DS_Store
pkg/
9 changes: 8 additions & 1 deletion Rakefile
Expand Up @@ -11,7 +11,7 @@ PKG_VERSION = "1.0.0#{PKG_BUILD}"

spec = Gem::Specification.new do |s|
s.name = PKG_NAME
s.summary = 'SQL Server adapter for Active Record'
s.summary = 'SQL Server adapter for Active Record - ABR'
s.version = PKG_VERSION

s.add_dependency 'activerecord', '>= 1.15.5.7843'
Expand Down Expand Up @@ -87,3 +87,10 @@ for adapter in %w( sqlserver sqlserver_odbc )
task :test => "test_#{adapter}"
end
end


desc 'Clean existing gems out'
task :clean do
packages = %w(gem tgz zip).collect{ |ext| "pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}" }
FileUtils.rm(packages, :force => true)
end

0 comments on commit 3db806c

Please sign in to comment.