Sha256: ec07b18c03b071d58c23d33f71df236b7693c9c71d1e3e4963d9f35d2d38ba0a

Contents?: true

Size: 673 Bytes

Versions: 2

Compression:

Stored size: 673 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"

$LOAD_PATH.unshift File.expand_path("lib", __dir__)
$LOAD_PATH.unshift File.expand_path("../bridgetown-foundation/lib", __dir__)
require "bridgetown/version"

task spec: :test
require "rake/testtask"
Rake::TestTask.new(:test) do |test|
  test.libs << "lib" << "test"
  test.pattern = "test/**/test_*.rb"
  test.verbose = true
end

require "yard"
YARD::Rake::YardocTask.new(:yard) do |t|
  t.files = ["lib/**/*.rb"]
  t.options = ["--no-output"]
  t.stats_options = ["--list-undoc"]
end

namespace :yard do
  task :serve do
    port = ENV["YARD_PORT"] || "8808"
    sh("yard server --reload -p #{port}")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bridgetown-core-2.0.0.beta3 Rakefile
bridgetown-core-2.0.0.beta2 Rakefile