forked from manveru/ramaze
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
106 lines (92 loc) · 3.29 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
begin; require 'rubygems'; rescue LoadError; end
require 'rake'
require 'rake/clean'
require 'rake/gempackagetask'
require 'time'
require 'date'
PROJECT_SPECS = FileList[
'spec/{contrib,examples,ramaze,snippets}/**/*.rb',
'lib/proto/spec/*.rb'
]
PROJECT_MODULE = 'Ramaze'
PROJECT_JQUERY_FILE = 'lib/proto/public/js/jquery.js'
PROJECT_README = 'README.md'
PROJECT_VERSION = ENV['VERSION'] || Date.today.strftime('%Y.%m.%d')
PROJECT_COPYRIGHT = [
"# Copyright (c) #{Time.now.year} Michael Fellinger [email protected]",
"# All files in this distribution are subject to the terms of the Ruby license."
]
DEPENDENCIES = {
'innate' => {:version => '= 2009.10'},
}
DEVELOPMENT_DEPENDENCIES = {
'RedCloth' => {:version => '~> 4.2.2'},
'Remarkably' => {:version => '~> 0.5.2', :lib => 'remarkably'},
'activesupport' => {:version => '~> 2.3.4'},
'addressable' => {:version => '~> 2.1.0'},
'bacon' => {:version => '>= 1.1.0'},
'erector' => {:version => '~> 0.7.0'},
'erubis' => {:version => '>= 2.6.4'},
'ezamar' => {:version => '>= 2009.06'},
'haml' => {:version => '~> 2.2.1'},
'hpricot' => {:version => '>= 0.8.1'},
'json' => {:version => '>= 1.1.7'},
'less' => {:version => '~> 1.1.13'},
'liquid' => {:version => '~> 2.0.0'},
'locale' => {:version => '~> 2.0.4'},
'localmemcache' => {:version => '~> 0.4.1'},
'maruku' => {:version => '~> 0.6.0'},
'memcache-client' => {:version => '~> 1.7.4', :lib => 'memcache'},
'nagoro' => {:version => '>= 2009.05'},
'rack-contrib' => {:version => '>= 0.9.2', :lib => 'rack/contrib'},
'rack-test' => {:version => '>= 0.4.0', :lib => 'rack/test'},
'sequel' => {:version => '= 3.2.0'},
'slippers' => {:version => '~> 0.0.10'},
'sqlite3-ruby' => {:version => '~> 1.2.5', :lib => 'sqlite3'},
'tagz' => {:version => '>= 7.1.0'},
'tenjin' => {:version => '~> 0.6.1'},
}
GEMSPEC = Gem::Specification.new{|s|
s.name = 'ramaze'
s.author = "Michael 'manveru' Fellinger"
s.summary = "Ramaze is a simple and modular web framework"
s.description = s.summary
s.email = '[email protected]'
s.homepage = 'http://ramaze.net'
s.platform = Gem::Platform::RUBY
s.version = PROJECT_VERSION
s.files = `git ls-files`.split("\n").sort
s.has_rdoc = true
s.require_path = 'lib'
s.bindir = "bin"
s.executables = ["ramaze"]
s.rubyforge_project = "ramaze"
s.required_rubygems_version = '>= 1.3.1'
s.post_install_message = <<MESSAGE.strip
============================================================
Thank you for installing Ramaze!
You can now do create a new project:
# ramaze create yourproject
============================================================
MESSAGE
}
DEPENDENCIES.each do |name, options|
GEMSPEC.add_dependency(name, options[:version])
end
DEVELOPMENT_DEPENDENCIES.each do |name, options|
GEMSPEC.add_development_dependency(name, options[:version])
end
Dir['tasks/*.rake'].each{|f| import(f) }
task :default => [:bacon]
CLEAN.include %w[
**/.*.sw?
*.gem
.config
**/*~
**/{data.db,cache.yaml}
*.yaml
pkg
rdoc
ydoc
*coverage*
]