Sha256: 1bea13d7e88b39d1c1ec550624119a76fdf1477e080884445ab8d9ee851f4049
Contents?: true
Size: 484 Bytes
Versions: 16
Compression:
Stored size: 484 Bytes
Contents
require 'fileutils' class MyNewCommand < Jekyll::Command class << self # As the docs get precompiled before being sent up to jekyll, # and they sit inside Chameleon, the images folder needs to be # copied into the docs repo. if (!File.directory?('images')) FileUtils.cp_r '../images', 'images' end def init_with_program(prog) prog.command(:build) do |c| c.action do puts "hello world" end end end end end
Version data entries
16 entries across 16 versions & 2 rubygems