Sha256: 3f0a09eae0a340458739a2053b41a403c978c3bfcb06670db5276d412facecbf
Contents?: true
Size: 555 Bytes
Versions: 7
Compression:
Stored size: 555 Bytes
Contents
require "bundler/gem_tasks" task default: :spec desc "Regenerate the example HTML in example/example.html" task :generate_example do require_relative "lib/govuk_markdown" markdown = File.read("example/example.md") html = GovukMarkdown.render(markdown) File.write("example/example.html", ERB.new(File.read("example/example_layout.html.erb")).result(binding)) sh "open example/example.html" end desc "Print the current version of the gem" task :gem_version do require_relative "lib/govuk_markdown/version" puts GovukMarkdown::VERSION end
Version data entries
7 entries across 7 versions & 1 rubygems