Move adapter files to src/

This commit is contained in:
TSUYUSATO Kitsune 2016-02-16 09:25:33 +09:00
parent 94ba25b593
commit bbf22d187a
8 changed files with 11 additions and 11 deletions

View file

@ -1,5 +1,5 @@
require "../spec_helper"
require "../../src/kilt/crustache"
require "../../src/crustache"
class MustacheView
def has_key?(name)

View file

@ -1,5 +1,5 @@
require "../spec_helper"
require "../../src/kilt/slang"
require "../../src/slang"
class SlangView
Kilt.file "spec/fixtures/test.slang"

4
src/crustache.cr Normal file
View file

@ -0,0 +1,4 @@
require "./kilt"
require "crustache"
Kilt.register_engine "mustache", embed_mustache

View file

@ -32,4 +32,4 @@ module Kilt
end
end
require "./kilt/ecr"
require "./ecr"

View file

@ -1,4 +0,0 @@
require "../kilt"
require "crustache"
Kilt.register_engine "mustache", embed_mustache

View file

@ -1,4 +0,0 @@
require "../kilt"
require "slang"
Kilt.register_engine "slang", Slang.embed

4
src/slang.cr Normal file
View file

@ -0,0 +1,4 @@
require "./kilt"
require "slang"
Kilt.register_engine "slang", Slang.embed