File: Rakefile

package info (click to toggle)
ruby-pgplot 0.1.9-3
  • links: PTS, VCS
  • area: contrib
  • in suites: buster, stretch
  • size: 604 kB
  • ctags: 144
  • sloc: ruby: 1,607; makefile: 76; ansic: 57; sh: 17
file content (16 lines) | stat: -rw-r--r-- 316 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'rubygems'
require 'rubygems/package_task'

load './pgplot.gemspec'

file 'ext/rb_pgplot.c' => ['ext/rb_pgplot.c.in', 'ext/cogen.rb'] do
  require './ext/cogen.rb'
  Dir.chdir('ext') do
    cogen_pgplot
  end
end

Gem::PackageTask.new(PGPLOT_GEMSPEC) do |pkg|
  pkg.need_zip = true
  pkg.need_tar = true
end