Sha256: fd5cb46c45118db961a89887abad3e2e026e1a240721835fdefcdacc9c04ee13
Contents?: true
Size: 592 Bytes
Versions: 1
Compression:
Stored size: 592 Bytes
Contents
# frozen_string_literal: true require 'bundler/gem_tasks' require 'rake/testtask' require 'rake/extensiontask' gem = Gem::Specification.load("#{File.dirname(__FILE__)}/cppjieba_rb.gemspec") Rake::ExtensionTask.new('cppjieba_rb', gem) do |ext| ext.lib_dir = File.join('lib', 'cppjieba_rb') end Rake::Task[:test].prerequisites << :compile Rake::TestTask.new do |t| t.libs << 'test' end desc 'clean compile files' task :clean_compile do system 'rm -r tmp' system 'rm lib/*.bundle' end task default: :test desc 'report gem version' task :version do print CppjiebaRb::VERSION end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cppjieba_rb-0.4.4 | Rakefile |