Sha256: 9d9b4bcafc69cddfdd441f05a72591935716d6c9489044bcfd47a35f9f768855
Contents?: true
Size: 987 Bytes
Versions: 6
Compression:
Stored size: 987 Bytes
Contents
# frozen_string_literal: true # ========================================================== # Packaging # ========================================================== GEMSPEC = Gem::Specification.load('rotoscope.gemspec') require 'bundler/gem_tasks' require 'rubygems/package_task' Gem::PackageTask.new(GEMSPEC) do |pkg| end # ========================================================== # Ruby Extension # ========================================================== require 'rake/extensiontask' Rake::ExtensionTask.new('rotoscope', GEMSPEC) do |ext| ext.lib_dir = 'lib/rotoscope' end task build: :compile task install: [:build] do |_t| sh "gem build rotoscope.gemspec && gem install rotoscope-*.gem" end # ========================================================== # Testing # ========================================================== require 'rake/testtask' Rake::TestTask.new 'test' do |t| t.test_files = FileList['test/*_test.rb'] end task test: :build task default: :test
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
rotoscope-0.3.0.pre.7 | Rakefile |
rotoscope-0.3.0.pre.6 | Rakefile |
rotoscope-0.3.0.pre.5 | Rakefile |
rotoscope-0.3.0.pre.4 | Rakefile |
rotoscope-0.3.0.pre.3 | Rakefile |
rotoscope-0.3.0.pre.2 | Rakefile |