Skip to content

Commit

Permalink
Сделал таск для генерации последнего выпуска в html
Browse files Browse the repository at this point in the history
  • Loading branch information
evtuhovich committed Apr 24, 2012
1 parent d3a2d7f commit f16759e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
.rvmrc
3 changes: 3 additions & 0 deletions Gemfile
@@ -0,0 +1,3 @@

gem 'rake'
gem 'bluecloth'
11 changes: 11 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,11 @@
GEM
specs:
bluecloth (2.2.0)
rake (0.9.2.2)

PLATFORMS
ruby

DEPENDENCIES
bluecloth
rake
7 changes: 7 additions & 0 deletions rakefile.rb
@@ -0,0 +1,7 @@
require 'bluecloth'

task :default do
file = Dir['S*.md'].sort.last
bc = BlueCloth.new File.read(file)
puts bc.to_html
end

0 comments on commit f16759e

Please sign in to comment.