Skip to content

Commit

Permalink
Simplify re-generating the lesson markdown files from the old DSL.
Browse files Browse the repository at this point in the history
  • Loading branch information
danbernier committed Sep 28, 2011
1 parent 576570f commit 279bf17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lessons/lesson-md-gen.rbx → lessons/lesson_md_gen.rb
Expand Up @@ -109,6 +109,8 @@ def initialize(lesson_file)

def run
Dir.glob("#{File.dirname(__FILE__)}/**/*.rb").each do |lesson|
MarkdownEmitter.new(lesson)
MarkdownEmitter.new(lesson) unless lesson.include?(__FILE__)
end
end

run

0 comments on commit 279bf17

Please sign in to comment.