File: Rakefile

package info (click to toggle)
ruby-rbtrace 0.4.11-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 704 kB
  • sloc: ruby: 1,060; ansic: 892; sh: 40; makefile: 3
file content (14 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require "bundler/gem_tasks"

desc "Compile the c extension"
task :compile do
  if File.exist?("ext/Makefile")
    system "(cd ext && make clean)"
  end
  system "(cd ext && ruby extconf.rb)"
  system "(cd ext && make)"
end

task :build => :compile