Sha256: 38a1358ca371a4237d1ab000112185b858e3123c28614229d578fcbb2bd55002

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

require "bundler/gem_tasks"
task default: :compile

desc "Build stripttc C library"
task :compile do
  print "Building stripttc..."
  Dir.chdir("ext/stripttc") do
    `make`
  end
  puts " done."
end

desc "Recompile the stripttc C library"
task recompile: %i[clean compile]

desc "Remove compiled stripttc library"
task :clean do
  print "Cleaning stripttc..."
  Dir.glob("ext/stripttc/*.{o,so}") do |path|
    File.delete(path)
  end
  puts " done."
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
extract_ttc-0.1.0 Rakefile