Sha256: f980a5c16cbe198f55e74e610a73c7c3373ad8551ee7dc9a6a91dad574f589f6
Contents?: true
Size: 958 Bytes
Versions: 3
Compression:
Stored size: 958 Bytes
Contents
# frozen_string_literal: true # ========================================================== # Packaging # ========================================================== GEMSPEC = Gem::Specification.load('rotoscope.gemspec') 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rotoscope-0.3.0.pre.1 | Rakefile |
rotoscope-0.2.2 | Rakefile |
rotoscope-0.2.1 | Rakefile |