mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
574 B
26 lines
574 B
# frozen_string_literal: true
|
|
|
|
require 'bundler'
|
|
require 'rubygems'
|
|
require 'rubygems/package_task'
|
|
require 'rake'
|
|
require 'rake/testtask'
|
|
require 'rspec/core/rake_task'
|
|
|
|
Dir['tasks/**/*.rake'].each { |file| load(file) }
|
|
|
|
Bundler::GemHelper.install_tasks
|
|
|
|
RSpec::Core::RakeTask.new(:spec)
|
|
|
|
task :default => [:'test:full']
|
|
|
|
namespace :test do
|
|
task full: [:ragel, :spec]
|
|
end
|
|
|
|
# Add ragel task as a prerequisite for building the gem to ensure that the
|
|
# latest scanner code is generated and included in the build.
|
|
desc "Runs ragel before building the gem"
|
|
task build: :ragel
|