Sha256: 160d226af59fe8e516e875c30d46c6eca84cf2f462ce0ffa4d55cf0d970d6a71

Contents?: true

Size: 1.21 KB

Versions: 38

Compression:

Stored size: 1.21 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'].nil? ? 'devbuild' : 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

38 entries across 38 versions & 1 rubygems

Version Path
totally_lazy-0.1.62 Rakefile
totally_lazy-0.1.61 Rakefile
totally_lazy-0.1.60 Rakefile
totally_lazy-0.1.59 Rakefile
totally_lazy-0.1.58 Rakefile
totally_lazy-0.1.57 Rakefile
totally_lazy-0.1.56 Rakefile
totally_lazy-0.1.55 Rakefile
totally_lazy-0.1.54 Rakefile
totally_lazy-0.1.53 Rakefile
totally_lazy-0.1.52 Rakefile
totally_lazy-0.1.51 Rakefile
totally_lazy-0.1.50 Rakefile
totally_lazy-0.1.49 Rakefile
totally_lazy-0.1.48 Rakefile
totally_lazy-0.1.47 Rakefile
totally_lazy-0.1.46 Rakefile
totally_lazy-0.1.45 Rakefile
totally_lazy-0.1.44 Rakefile
totally_lazy-0.1.43 Rakefile