Sha256: d59541a6161e33c02ad196e33a20e62836fce98521a1b1724c4f41affc3e048c
Contents?: true
Size: 482 Bytes
Versions: 1
Compression:
Stored size: 482 Bytes
Contents
require 'ritual' extension file 'ext/cast.so' => FileList['ext/*.c', 'ext/yylex.c'] do |t| FileUtils.cd 'ext' do ruby 'extconf.rb' sh 'make' end end file 'ext/yylex.c' => 'ext/yylex.re' do |t| sh "re2c #{t.prerequisites[0]} > #{t.name}" end file 'lib/cast/c.tab.rb' => 'lib/cast/c.y' do |t| sh "racc #{t.prerequisites[0]}" end task :ext => 'ext/yylex.c' task 'gem:build' => ['ext/yylex.c', 'lib/cast/c.tab.rb'] CLEAN.include('ext/yylex.c', 'lib/cast/c.tab.rb')
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cast-0.2.0 | Rakefile |