File: Rakefile

package info (click to toggle)
ruby-rbtrace 0.5.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 752 kB
  • sloc: ruby: 1,128; ansic: 925; sh: 42; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (4)
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