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

Version Path
liquidscript-0.3.1 Rakefile
liquidscript-0.3.0 Rakefile
liquidscript-0.2.1 Rakefile
liquidscript-0.2.0 Rakefile
liquidscript-0.1.5 Rakefile
liquidscript-0.1.4 Rakefile
liquidscript-0.1.3 Rakefile
liquidscript-0.1.2 Rakefile
liquidscript-0.1.1 Rakefile
liquidscript-0.1.0 Rakefile
liquidscript-0.0.1 Rakefile