Sha256: f68cec671ce0d15701f94ed79bc570ad9685ae8a32d5b13d400d4d7e11342e31

Contents?: true

Size: 428 Bytes

Versions: 1

Compression:

Stored size: 428 Bytes

Contents

require 'bundler/gem_tasks'
require "rake/testtask"

Rake::TestTask.new(:test) do |t|
  t.libs << 'test'
  t.libs << 'lib'
  t.test_files = FileList['test/**/*_test.rb']
end

task default: :test

desc 'Run dummy site'
task :dummy_site do
  dummy_site_path = File.expand_path('test/dummy_site', __dir__)

  Dir.chdir(dummy_site_path) do
    puts "Current directory: #{Dir.pwd}"

    %x(bundle exec jekyll serve --trace)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-diagrams-0.7.1 Rakefile