This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
jekyll / Rakefile
| 2b820aee » | mojombo | 2009-02-03 | 1 | require 'rake' | |
| 2 | require 'rake/testtask' | ||||
| 3 | require 'rake/rdoctask' | ||||
| 4 | |||||
| 5 | begin | ||||
| 93e72407 » | technicalpickles | 2009-04-04 | 6 | gem 'jeweler', '>= 0.11.0' | |
| 2b820aee » | mojombo | 2009-02-03 | 7 | require 'jeweler' | |
| 8 | Jeweler::Tasks.new do |s| | ||||
| 9 | s.name = "jekyll" | ||||
| 10 | s.summary = %Q{Jekyll is a simple, blog aware, static site generator.} | ||||
| 11 | s.email = "tom@mojombo.com" | ||||
| 12 | s.homepage = "http://github.com/mojombo/jekyll" | ||||
| 13 | s.description = "Jekyll is a simple, blog aware, static site generator." | ||||
| 14 | s.authors = ["Tom Preston-Werner"] | ||||
| 15 | s.rubyforge_project = "jekyll" | ||||
| 93e72407 » | technicalpickles | 2009-04-04 | 16 | s.files.exclude 'test/dest' | |
| 17 | s.test_files.exclude 'test/dest' | ||||
| 237df137 » | qrush | 2009-06-24 | 18 | s.add_dependency('RedCloth', '>= 4.2.1') | |
| 2b820aee » | mojombo | 2009-02-03 | 19 | s.add_dependency('liquid', '>= 1.9.0') | |
| 20 | s.add_dependency('classifier', '>= 1.3.1') | ||||
| 21 | s.add_dependency('maruku', '>= 0.5.9') | ||||
| 22 | s.add_dependency('directory_watcher', '>= 1.1.1') | ||||
| 23 | s.add_dependency('open4', '>= 0.9.6') | ||||
| 24 | end | ||||
| 25 | rescue LoadError | ||||
| 93e72407 » | technicalpickles | 2009-04-04 | 26 | puts "Jeweler not available. Install it with: sudo gem install jeweler --version '>= 0.11.0'" | |
| 5247f4ff » | mojombo | 2009-04-07 | 27 | exit(1) | |
| 2b820aee » | mojombo | 2009-02-03 | 28 | end | |
| 29 | |||||
| 30 | Rake::TestTask.new do |t| | ||||
| 31 | t.libs << 'lib' | ||||
| 32 | t.pattern = 'test/**/test_*.rb' | ||||
| 33 | t.verbose = false | ||||
| 34 | end | ||||
| 35 | |||||
| 36 | Rake::RDocTask.new do |rdoc| | ||||
| 37 | rdoc.rdoc_dir = 'rdoc' | ||||
| 38 | rdoc.title = 'jekyll' | ||||
| 39 | rdoc.options << '--line-numbers' << '--inline-source' | ||||
| 40 | rdoc.rdoc_files.include('README*') | ||||
| 41 | rdoc.rdoc_files.include('lib/**/*.rb') | ||||
| a426eb36 » | JackDanger | 2008-11-19 | 42 | end | |
| d189e05d » | mojombo | 2008-10-19 | 43 | ||
| 2b820aee » | mojombo | 2009-02-03 | 44 | begin | |
| 45 | require 'rcov/rcovtask' | ||||
| 46 | Rcov::RcovTask.new do |t| | ||||
| 47 | t.libs << 'test' | ||||
| 48 | t.test_files = FileList['test/**/test_*.rb'] | ||||
| 49 | t.verbose = true | ||||
| 50 | end | ||||
| 51 | rescue LoadError | ||||
| 52 | end | ||||
| 53 | |||||
| 3c0bc3b2 » | qrush | 2009-04-01 | 54 | task :default => [:test, :features] | |
| 2b820aee » | mojombo | 2009-02-03 | 55 | ||
| 56 | # console | ||||
| 57 | |||||
| 7dfe32a5 » | mojombo | 2008-10-19 | 58 | desc "Open an irb session preloaded with this library" | |
| 59 | task :console do | ||||
| c489c1c2 » | mojombo | 2009-02-03 | 60 | sh "irb -rubygems -I lib -r jekyll.rb" | |
| a426eb36 » | JackDanger | 2008-11-19 | 61 | end | |
| 08bf7b18 » | vanpelt | 2008-11-23 | 62 | ||
| 2b820aee » | mojombo | 2009-02-03 | 63 | # converters | |
| 64 | |||||
| 08bf7b18 » | vanpelt | 2008-11-23 | 65 | namespace :convert do | |
| 66 | desc "Migrate from mephisto in the current directory" | ||||
| 67 | task :mephisto do | ||||
| 68 | sh %q(ruby -r './lib/jekyll/converters/mephisto' -e 'Jekyll::Mephisto.postgres(:database => "#{ENV["DB"]}")') | ||||
| 69 | end | ||||
| 47708822 » | codeslinger | 2008-12-27 | 70 | desc "Migrate from Movable Type in the current directory" | |
| 8477cb59 » | ngerakines | 2008-12-24 | 71 | task :mt do | |
| 72 | sh %q(ruby -r './lib/jekyll/converters/mt' -e 'Jekyll::MT.process("#{ENV["DB"]}", "#{ENV["USER"]}", "#{ENV["PASS"]}")') | ||||
| 73 | end | ||||
| 47708822 » | codeslinger | 2008-12-27 | 74 | desc "Migrate from Typo in the current directory" | |
| 75 | task :typo do | ||||
| 76 | sh %q(ruby -r './lib/jekyll/converters/typo' -e 'Jekyll::Typo.process("#{ENV["DB"]}", "#{ENV["USER"]}", "#{ENV["PASS"]}")') | ||||
| 77 | end | ||||
| 08bf7b18 » | vanpelt | 2008-11-23 | 78 | end | |
| 778894dc » | qrush | 2009-03-31 | 79 | ||
| 80 | begin | ||||
| 81 | require 'cucumber/rake/task' | ||||
| 82 | |||||
| 83 | Cucumber::Rake::Task.new(:features) do |t| | ||||
| 921aee23 » | qrush | 2009-05-18 | 84 | t.cucumber_opts = "--format progress" | |
| 778894dc » | qrush | 2009-03-31 | 85 | end | |
| 86 | rescue LoadError | ||||
| 87 | desc 'Cucumber rake task not available' | ||||
| 88 | task :features do | ||||
| 89 | abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin' | ||||
| 90 | end | ||||
| 91 | end | ||||







