mirror of
https://gitea.invidious.io/iv-org/shard-kilt.git
synced 2024-08-15 00:43:15 +00:00
Move adapter files to src/
This commit is contained in:
parent
94ba25b593
commit
bbf22d187a
8 changed files with 11 additions and 11 deletions
|
@ -1,5 +1,5 @@
|
|||
require "../spec_helper"
|
||||
require "../../src/kilt/crustache"
|
||||
require "../../src/crustache"
|
||||
|
||||
class MustacheView
|
||||
def has_key?(name)
|
||||
|
|
|
@ -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
4
src/crustache.cr
Normal file
|
@ -0,0 +1,4 @@
|
|||
require "./kilt"
|
||||
require "crustache"
|
||||
|
||||
Kilt.register_engine "mustache", embed_mustache
|
|
@ -32,4 +32,4 @@ module Kilt
|
|||
end
|
||||
end
|
||||
|
||||
require "./kilt/ecr"
|
||||
require "./ecr"
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
require "../kilt"
|
||||
require "crustache"
|
||||
|
||||
Kilt.register_engine "mustache", embed_mustache
|
|
@ -1,4 +0,0 @@
|
|||
require "../kilt"
|
||||
require "slang"
|
||||
|
||||
Kilt.register_engine "slang", Slang.embed
|
4
src/slang.cr
Normal file
4
src/slang.cr
Normal file
|
@ -0,0 +1,4 @@
|
|||
require "./kilt"
|
||||
require "slang"
|
||||
|
||||
Kilt.register_engine "slang", Slang.embed
|
Loading…
Reference in a new issue