forked from browsermedia/browsercms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
51 lines (44 loc) · 2.24 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'tasks/rails'
require File.dirname(__FILE__) + "/lib/cms/version.rb"
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "browsercms"
gem.version = Cms::VERSION
gem.summary = %Q{BrowserCMS is a general purpose, open source Web Content Management System (CMS) written in Ruby on Rails. Designed for web developers who want to create great looking websites while using standard Rails tools for customizing it. }
gem.description = %Q{BrowserCMS is a general purpose, open source Web Content Management System (CMS) written in Ruby on Rails. Designed for web developers who want to create great looking websites while using standard Rails tools for customizing it.}
gem.email = "[email protected]"
gem.homepage = "http://www.browsercms.org"
gem.authors = ["BrowserMedia"]
gem.rubyforge_project = 'browsercms'
gem.executables = ['browsercms', 'bcms']
gem.files = Dir["rails/*.rb"]
gem.files += Dir["browsercms.gemspec"]
gem.files += Dir["doc/app/**/*"]
gem.files += Dir["doc/guides/html/**/*"]
gem.files += Dir["app/**/*"]
gem.files += Dir["db/migrate/[0-9]*_*.rb"]
gem.files += Dir["db/demo/**/*"]
gem.files += Dir["lib/**/*"]
gem.files += Dir["rails_generators/**/*"]
gem.files += Dir["public/stylesheets/cms/**/*"]
gem.files += Dir["public/javascripts/jquery*"]
gem.files += Dir["public/javascripts/cms/**/*"]
gem.files += Dir["public/bcms/**/*"]
gem.files += Dir["public/site/**/*"]
gem.files += Dir["public/images/cms/**/*"]
gem.files += Dir["public/themes/**/*"]
gem.files += Dir["templates/*.rb"]
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
# BrowserCMS gem will only be released to Gemcutter/rubygems. No longer going to RubyForge.
Jeweler::GemcutterTasks.new