Sha256: 3f9ecd07195d16e37f53d2b61cf6967279b7ba4efa94da507903e5a14982597b

Contents?: true

Size: 530 Bytes

Versions: 3

Compression:

Stored size: 530 Bytes

Contents

require "bundler/gem_tasks"

desc "Run test"
task :test do
  ruby("test/run.rb")
end

namespace :version do
  desc "Bump version"
  task :bump do
    version_rb_path = "lib/fiddle/version.rb"
    version_rb = File.read(version_rb_path).gsub(/VERSION = "(.+?)"/) do
      version = $1
      "VERSION = \"#{version.succ}\""
    end
    File.write(version_rb_path, version_rb)
  end
end

require 'rake/extensiontask'
Rake::ExtensionTask.new("fiddle")
Rake::ExtensionTask.new("-test-/memory_view")

task :default => [:compile, :test]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fiddle-1.1.2 Rakefile
fiddle-1.1.1 Rakefile
fiddle-1.1.0 Rakefile