Skip to content
Newer
Older
100644 43 lines (38 sloc) 1.2 KB
d066adb @josevalim Initial commit.
josevalim authored Feb 23, 2010
1 # encoding: UTF-8
2 require 'rake'
3 require 'rake/testtask'
4 require 'rake/rdoctask'
5
6 Rake::TestTask.new(:test) do |t|
7 t.libs << 'lib'
8 t.libs << 'test'
40d80ab @josevalim Finsh tests.
josevalim authored Feb 23, 2010
9 t.pattern = 'test/*_test.rb'
d066adb @josevalim Initial commit.
josevalim authored Feb 23, 2010
10 t.verbose = true
11 end
12
13 Rake::RDocTask.new(:rdoc) do |rdoc|
14 rdoc.rdoc_dir = 'rdoc'
15 rdoc.title = 'Enginex'
16 rdoc.options << '--line-numbers' << '--inline-source'
17 rdoc.rdoc_files.include('README.rdoc')
18 rdoc.rdoc_files.include('lib/**/*.rb')
19 end
20
21 begin
22 require 'jeweler'
23 Jeweler::Tasks.new do |s|
24 s.name = "enginex"
43fe166 @josevalim Release 0.8.1.
josevalim authored Mar 1, 2011
25 s.version = "0.8.1"
604edf8 @josevalim Added Rakefile template.
josevalim authored Feb 23, 2010
26 s.summary = "Creates a Rails 3 engine with Rakefile, Gemfile and running tests"
d066adb @josevalim Initial commit.
josevalim authored Feb 23, 2010
27 s.email = "jose.valim@plataformatec.com.br"
28 s.homepage = "http://github.com/josevalim/enginex"
604edf8 @josevalim Added Rakefile template.
josevalim authored Feb 23, 2010
29 s.description = "Creates a Rails 3 engine with Rakefile, Gemfile and running tests"
30 s.authors = ['José Valim']
d066adb @josevalim Initial commit.
josevalim authored Feb 23, 2010
31 s.files = FileList["[A-Z]*", "lib/**/*"]
32 s.bindir = "bin"
33 s.executables = %w(enginex)
6bc4498 @josevalim Release 0.8.0
josevalim authored Dec 11, 2010
34 s.add_dependency("thor", "~> 0.14")
74920ab @josevalim Release enginex 0.7.2 with dependency on Rails 3.0.3 (as Rails master…
josevalim authored Nov 28, 2010
35 s.add_dependency("rails", "~> 3.0.3")
604edf8 @josevalim Added Rakefile template.
josevalim authored Feb 23, 2010
36 s.add_dependency("rake", "~> 0.8")
d066adb @josevalim Initial commit.
josevalim authored Feb 23, 2010
37 end
38
39 Jeweler::GemcutterTasks.new
40 rescue LoadError
53bd208 @josevalim Bump dependencies versions.
josevalim authored Jul 6, 2010
41 puts "Jeweler, or one of its dependencies, is not available. Install it with: gem install jeweler"
d066adb @josevalim Initial commit.
josevalim authored Feb 23, 2010
42 end
Something went wrong with that request. Please try again.