Sha256: ab28ad096cc38c9e6953e1e06b23240b507bf655bbab965fc4bbbcdf95253010

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts 'Run `bundle install` to install missing gems'
  exit e.status_code
end
require 'rake'

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

task :default => :spec

desc 'run rspec guard'
task :guard do
  system('bundle exec guard')
end

version = "#{File.read('VERSION').to_s}.#{ENV['BUILD_NUMBER'].to_s}"

require 'jeweler'
Jeweler::Tasks.new do |gem|
  gem.name = 'totally_lazy'
  gem.version = version
  gem.homepage = 'http://github.com/raymanoz/totally_lazy'
  gem.license = 'Apache 2.0'
  gem.summary = 'A lazy FP library for Ruby'
  gem.description = 'Port of java functional library totallylazy to ruby'
  gem.email = 'rbarlow@raymanoz.com'
  gem.authors = ['Raymond Barlow', 'Kingsley Hendrickse']
  gem.required_ruby_version = '2.0.0'
end
Jeweler::RubygemsDotOrgTasks.new

desc 'rebuild gem'
task :re do
  system("gem uninstall totally_lazy && rake build && gem install -l pkg/totally_lazy-#{version}.gem")
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
totally_lazy-0.1.11 Rakefile
totally_lazy-0.1.10 Rakefile
totally_lazy-0.1.9 Rakefile