Skip to content

Commit

Permalink
auto compass versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
pepijndevos committed Dec 25, 2010
1 parent f7a5953 commit e9967c6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Rakefile
@@ -1,6 +1,16 @@
require 'rubygems'
require 'rake'

def compass_version()
begin
require 'compass'
return ">= "+ Compass::VERSION
rescue LoadError
return ">= 0.10.6"
end
end


begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
Expand All @@ -10,7 +20,7 @@ begin
gem.email = "pepijndevos@gmail.com"
gem.homepage = "http://github.com/pepijndevos/compass-wordpress"
gem.authors = ["Wynn Netherland", "Adam Stacoviak", "Pepijn de Vos"]
gem.add_dependency "compass", ">= 0.10.6"
gem.add_dependency "compass", compass_version
#gem.files = FileList["[A-Z]*", "{lib,sass,templates}/**/*"]
gem.files.include "wordpress/**/*"

Expand Down

0 comments on commit e9967c6

Please sign in to comment.