Sha256: bb181800cd48a07ce2b16f5329f4abda06c35ab74bc54b2bd51065a59f8eb6cc
Contents?: true
Size: 854 Bytes
Versions: 16
Compression:
Stored size: 854 Bytes
Contents
require 'shellwords' require 'rubygems' require 'bundler' require 'rake' # "rake test" require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.test_files = FileList['test/test*.rb'] test.verbose = true end task :default => :test # "rake yard" require 'yard' YARD::Rake::YardocTask.new do |t| t.files = %w[ --readme Readme.md lib/**/*.rb - VERSION ] end # "rake build" require 'rubygems/tasks' Gem::Tasks.new({ push: false, sign: {} }) do |tasks| tasks.console.command = 'pry' end Gem::Tasks::Sign::Checksum.new sha2: true # "rake version" require 'rake/version_task' Rake::VersionTask.new # "rake fpm" desc 'Convert latest .gem to .deb with FPM' task fpm: :build do latest_gem = Dir['pkg/*.gem'].pop system "fpm -s gem -t deb #{Shellwords::escape latest_gem}" system 'mv *.deb pkg' end
Version data entries
16 entries across 16 versions & 1 rubygems