require "bundler/gem_tasks" require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) task :default => :spec task :console do require 'pry' require 'remon/check_dsl' l = Remon::CheckDsl.new(["#{__dir__}/lib/Remon/checks"]) l.check "system" binding.pry end require_relative "lib/remon/version" task :build do name = "remon" version = Remon::VERSION file_name = "#{name}-#{version}.tar.gz" puts "building archive at #{file_name}" ok = system "git archive --prefix=#{name}-#{version}/ -o #{file_name} HEAD" if ok puts "build successful" else abort "error in build" end end