Sha256: cf8d04138cdf6a18614b9e22f9e76f8b44c7bbae35b667fbfc0967b4d8574f53
Contents?: true
Size: 600 Bytes
Versions: 4
Compression:
Stored size: 600 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.expand_path("../../lib", __FILE__)) require "pathname" require "tmpdir" require "jekyll" require "jekyll-favicon" GEM_ROOT = Pathname.new "/workspaces/jekyll-favicon" Dir.mktmpdir do |source| %w[index.html favicon.svg].each do |basename| template = GEM_ROOT.join "test/fixtures", basename target = File.join source, basename FileUtils.cp template, target end destination = File.join source, "_site" options = {source: source, destination: destination} Jekyll::Commands::Build.process options Jekyll::Commands::Serve.process options end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jekyll-favicon-1.1.0 | bin/debug |
jekyll-favicon-1.0.0 | bin/debug |
jekyll-favicon-1.0.0.pre.3 | bin/debug |
jekyll-favicon-1.0.0.pre.2 | bin/debug |