Sha256: 0b3510a162ca2d71be463cb3349c9c7368a881e9d7003ad7137bd24055316087
Contents?: true
Size: 512 Bytes
Versions: 11
Compression:
Stored size: 512 Bytes
Contents
require "bundler/gem_tasks" require "rspec/core/rake_task" RSpec::Core::RakeTask.new('spec') namespace :ls do rule '.rb' => ['.rl'] do |t| sh "ragel -R #{t.source}" end desc "Builds the ragel parser." task :ragel => ["lib/liquidscript/scanner/lexer.rb"] desc "Opens up a pry session." task :pry => [:ragel] do require "pry" require File.expand_path("../lib/liquidscript", __FILE__) Pry.start end task :clean do File.unlink("lib/liquidscript/scanner/lexer.rb") end end
Version data entries
11 entries across 11 versions & 1 rubygems