Sha256: 68f4e63f865afc36d1ae9b2c4c239f5e268284161a5876f37796d0aa997d1cd9
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
# -*- mode: ruby; coding: utf-8 -*- $: << File.expand_path(File.dirname __FILE__) require 'rbconfig' require 'support' NAME = 'rucy' SRCDIR = 'src' INCDIR = 'include' LIBDIR = 'lib' EXTDIR = 'ext' TASKDIR = 'task' EXTEXT = RbConfig::CONFIG['DLEXT'] || 'so' incroot = RbConfig::CONFIG['rubyhdrdir'] INCDIRS = [ 'include', incroot, "#{incroot}/#{RUBY_PLATFORM}", '/opt/local/include', '/opt/include' ] RBS = glob '**/*.rb' RUBY = ENV['RUBY'] || 'ruby' GEM = ENV['GEM'] || 'gem' MAKE = ENV['MAKE'] || 'make' CC = RbConfig::CONFIG['CC'] || ENV['CC'] || 'g++' CFLAGS = '-Wall -O' AR = ENV['AR'] || 'ar' ARFLAGS = 'crs' task :default => :ext task :lib => 'lib:build' task :ext => 'ext:build' task :gem => 'gem:build' task :install => 'gem:install' task :uninstall => 'gem:uninstall' task :clean => ['lib:clean', 'ext:clean', 'gem:clean'] task :test => :ext do Dir['test/**/test_*.rb'].each do |rb| sh %( ruby #{rb} ) end end Dir["#{TASKDIR}/**/*.rake"].each {|path| load path}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rucy-0.1.0 | Rakefile |