forked from netzke/netzke-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
58 lines (47 loc) · 1.64 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
begin
require 'jeweler'
require './lib/netzke/core/version'
Jeweler::Tasks.new do |gemspec|
gemspec.version = Netzke::Core::Version::STRING
gemspec.name = "netzke-core"
gemspec.summary = "Build ExtJS/Rails components with minimum effort"
gemspec.description = "Allows building ExtJS/Rails reusable code in a DRY way"
gemspec.email = "[email protected]"
gemspec.homepage = "http://netzke.org"
gemspec.authors = ["Sergei Kozlov"]
gemspec.add_dependency("activesupport", ">=3.0.1")
gemspec.post_install_message = <<-MESSAGE
========================================================================
Thanks for installing netzke-core!
Netzke home page: http://netzke.org
Netzke Google Groups: http://groups.google.com/group/netzke
Netzke tutorials: http://blog.writelesscode.com
========================================================================
MESSAGE
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/*_test.rb'
test.verbose = true
end
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
require './lib/netzke/core/version'
version = Netzke::Core::Version::STRING
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "netzke-core #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('CHANGELOG*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
namespace :rdoc do
desc "Publish rdocs"
task :publish => :rdoc do
`scp -r rdoc/* fl:www/api.netzke.org/core`
end
end