Sha256: a2fc988d6505d1f9818b69b4664a69b80f5c36b7ca3691c0bdc55d266eeed3f8

Contents?: true

Size: 613 Bytes

Versions: 1

Compression:

Stored size: 613 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
remon-0.1.0 Rakefile