Sha256: ba3e299bc683ae500db173d17ad35d0df115e4a6dd708f8d3e20df41852e1d67
Contents?: true
Size: 822 Bytes
Versions: 5
Compression:
Stored size: 822 Bytes
Contents
# frozen_string_literal: true require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'rubocop/rake_task' require 'yard' def shell(*args) puts "running: #{args.join(' ')}" system(args.join(' ')) end task :clean do shell('rm -rf pkg/ tmp/ coverage/ doc/ ') end task gem: [:build] do shell('gem install pkg/*') end task permissions: [:clean] do shell('chmod -v o+r,g+r * */* */*/* */*/*/* */*/*/*/* */*/*/*/*/*') shell('find . -type d -exec chmod o+x,g+x {} \\;') end task build: :permissions YARD::Rake::YardocTask.new(:doc) do |t| t.files = %w[lib/**/*.rb exe/* - README.adoc CHANGELOG.md LICENSE.txt] t.options.unshift('--title', '"Puma Daemon"') t.after = -> { exec('open doc/index.html') } end RSpec::Core::RakeTask.new(:spec) RuboCop::RakeTask.new task default: %i[spec rubocop]
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
puma-daemon-0.5.0 | Rakefile |
puma-daemon-0.3.2 | Rakefile |
puma-daemon-0.3.0 | Rakefile |
puma-daemon-0.2.3 | Rakefile |
puma-daemon-0.2.2 | Rakefile |