Sha256: 8407eb404a8db9e2550d55513437c43f451003a57dadbadb2ac01f494ff4c598

Contents?: true

Size: 749 Bytes

Versions: 17

Compression:

Stored size: 749 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rake/clean"

require "rake/extensiontask"
Rake::ExtensionTask.new("polyphony_ext") do |ext|
  ext.ext_dir = "ext/polyphony"
end

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

task :test do
  exec 'ruby test/run.rb'
end

task :stress_test do
  exec 'ruby test/stress.rb'
end

CLEAN.include "**/*.o", "**/*.so", "**/*.so.*", "**/*.a", "**/*.bundle", "**/*.jar", "pkg", "tmp"

task :release do
  require_relative './lib/polyphony/version'
  version = Polyphony::VERSION

  puts 'Building polyphony...'
  `gem build polyphony.gemspec`

  puts "Pushing polyphony #{version}..."
  `gem push polyphony-#{version}.gem`

  puts "Cleaning up..."
  `rm *.gem`
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
polyphony-1.6 Rakefile
polyphony-1.5 Rakefile
polyphony-1.4 Rakefile
polyphony-1.3 Rakefile
polyphony-1.2.1 Rakefile
polyphony-1.2 Rakefile
polyphony-1.1.1 Rakefile
polyphony-1.1 Rakefile
polyphony-1.0.2 Rakefile
polyphony-1.0.1 Rakefile
polyphony-1.0 Rakefile
polyphony-0.99.6 Rakefile
polyphony-0.99.5 Rakefile
polyphony-0.99.4 Rakefile
polyphony-0.99.3 Rakefile
polyphony-0.99.2 Rakefile
polyphony-0.99.1 Rakefile