Removed Cliver as a dependency.
Since I'm not using any Ragel version specific features it's not really needed to check for the version.
This commit is contained in:
parent
eeeeb0efad
commit
2652bc0103
|
@ -25,7 +25,6 @@ Gem::Specification.new do |s|
|
||||||
|
|
||||||
s.add_dependency 'racc'
|
s.add_dependency 'racc'
|
||||||
|
|
||||||
s.add_development_dependency 'cliver'
|
|
||||||
s.add_development_dependency 'rake'
|
s.add_development_dependency 'rake'
|
||||||
s.add_development_dependency 'rspec'
|
s.add_development_dependency 'rspec'
|
||||||
s.add_development_dependency 'yard'
|
s.add_development_dependency 'yard'
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
rule '.rb' => '.rl' do |task|
|
rule '.rb' => '.rl' do |task|
|
||||||
Cliver.assert('ragel', '~> 6.7')
|
|
||||||
|
|
||||||
sh "ragel -F1 -R #{task.source} -o #{task.name}"
|
sh "ragel -F1 -R #{task.source} -o #{task.name}"
|
||||||
|
|
||||||
puts "Applying patch http://git.io/ow6e1A to #{task.name}"
|
puts "Applying patch http://git.io/ow6e1A to #{task.name}"
|
||||||
|
@ -19,8 +17,6 @@ rule '.rb' => '.rl' do |task|
|
||||||
end
|
end
|
||||||
|
|
||||||
rule '.c' => '.rl' do |task|
|
rule '.c' => '.rl' do |task|
|
||||||
Cliver.assert('ragel', '~> 6.7')
|
|
||||||
|
|
||||||
sh "ragel -C -G2 #{task.source} -o #{task.name}"
|
sh "ragel -C -G2 #{task.source} -o #{task.name}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue