Sha256: 0ebb6755af5c96341a2c2002a2f2434aa054ddc981da355a9400c9fb9f56296f
Contents?: true
Size: 859 Bytes
Versions: 1
Compression:
Stored size: 859 Bytes
Contents
# frozen_string_literal: true ENV['MAKE'] = 'bear make' require 'bundler/gem_tasks' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) require 'rake/extensiontask' task build: [:compile, :tooling] task prespec: [:clobber, :compile, :tooling] require 'tasks/tooling' Rake::ExtensionTask.new('faster_support') do |ext| ext.lib_dir = 'lib/faster_support' ext.source_pattern = '*.{c,cpp,m,mm}' Tooling.add_task(ext: ext) end Rake::ExtensionTask.new('faster_support/core_ext/object/blank') do |ext| ext.lib_dir = 'lib' ext.source_pattern = '*.{c,cpp,m,mm}' Tooling.add_task(ext: ext) end Rake::ExtensionTask.new('faster_support/core_ext/string') do |ext| ext.lib_dir = 'lib' ext.source_pattern = '*.{c,cpp,m,mm}' Tooling.add_task(ext: ext) end Tooling.define(:tooling) task default: [:clobber, :compile, :tooling, :spec]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
faster_support-0.2.1 | Rakefile |