Sha256: a41711710429d71e810a22efc6d5a7a1a70bd624fffa64c73e46d7791ffcc203
Contents?: true
Size: 409 Bytes
Versions: 1
Compression:
Stored size: 409 Bytes
Contents
desc "Build the Github pages HTML" task :build_pages => :require_pages_submodule do Dir.chdir("pages") do FileUtils.rm_r('pages_output') if File.exist?('pages_output') Dir.chdir('pages_source') do system("frank export ../pages_output") end puts "\n" puts "Copying built website to the root of the gh-pages branch".cyan puts "\n\n" system("cp -r pages_output/* .") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
evergreen-1.0.0 | lib/jasmine/tasks/pages.rb |