Skip to content

Commit 84e92ff

Browse files
author
Andrew vonderLuft
committed
add jewler rake tasks to build gem
1 parent 6541fe5 commit 84e92ff

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Rakefile

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
begin
2+
require 'jeweler'
3+
Jeweler::Tasks.new do |gem|
4+
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
5+
gem.name = "radiant-language_redirect-extension"
6+
gem.homepage = "https://github.com/avonderluft/radiant-language_redirect-extension"
7+
gem.license = "MIT"
8+
gem.summary = %Q{Language Redirect Extension for Radiant CMS}
9+
gem.description = %Q{Redirects to the appropriate language section based on the content encoding preferred by the Web browser.}
10+
gem.email = "[email protected]"
11+
gem.authors = ["Giovanni Intini", "Andrew vonderLuft"]
12+
gem.add_dependency 'radiant', ">=1.1.3"
13+
end
14+
rescue LoadError
15+
puts "Jeweler (or a dependency) not available. This is only required if you plan to package language_redirect as a gem."
16+
end
17+
118
# I think this is the one that should be moved to the extension Rakefile template
219

320
# In rails 1.2, plugins aren't available in the path until they're loaded.

0 commit comments

Comments
 (0)