add binary
This commit is contained in:
parent
7fd8fd2b14
commit
ac3e24ac59
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
|
$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
|
||||||
|
|
||||||
|
require 'autoblog'
|
||||||
|
|
||||||
|
AutoBlog.process(ARGV[0], ARGV[1])
|
|
@ -47,7 +47,7 @@ module AutoBlog
|
||||||
def write_posts
|
def write_posts
|
||||||
self.posts.each do |post|
|
self.posts.each do |post|
|
||||||
post.add_layout(self.layouts)
|
post.add_layout(self.layouts)
|
||||||
post.write
|
post.write(self.dest)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue