Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 894f37a0b1
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (12 sloc) 0.338 kb
require 'nanoc3/tasks'
task :prep do
exec("nanoc3 compile")
end
task :fin do
files = Dir.glob(File.expand_path('./output/**'))
puts files
dir = File.expand_path("../mongoid.github.com/")
Dir.mkdir(dir) unless File.exists?(dir)
cp_r(files, dir)
puts "Moved the files from output/ to" + dir + " and deleted output/"
end
Jump to Line
Something went wrong with that request. Please try again.