Sha256: a13717df752037268583b237a168d8b1d7fab9b3d06c8a21bb5737b75ebf6e8e
Contents?: true
Size: 879 Bytes
Versions: 4
Compression:
Stored size: 879 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 --verbose' end task :stress_test do exec 'ruby test/stress.rb' end task :docs do exec 'RUBYOPT=-W0 jekyll serve -s docs -H ec2-18-156-117-172.eu-central-1.compute.amazonaws.com' 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
polyphony-0.96 | Rakefile |
polyphony-0.95 | Rakefile |
polyphony-0.94 | Rakefile |
polyphony-0.93 | Rakefile |