mirror of
https://gitlab.com/TECHNOFAB/soonix.git
synced 2026-02-02 07:15:06 +01:00
fix(generator): replace gotmpl with gomplate
This commit is contained in:
parent
5e479f3662
commit
a8acaf7143
7 changed files with 12 additions and 12 deletions
|
|
@ -19,10 +19,10 @@
|
|||
};
|
||||
};
|
||||
gomplate = {
|
||||
output = "gotmpl";
|
||||
generator = "gotmpl";
|
||||
output = "gomplate";
|
||||
generator = "gomplate";
|
||||
data.hello = "world";
|
||||
opts.template = ./fixtures/gotmpl_template;
|
||||
opts.template = ./fixtures/gomplate_template;
|
||||
};
|
||||
jinja = {
|
||||
output = "jinja";
|
||||
|
|
@ -48,8 +48,8 @@ in {
|
|||
assert "-f ${finalFiles}/out/test.json" "should exist"
|
||||
assert_file_contains ${finalFiles}/out/test.json "soonix-test"
|
||||
|
||||
assert "-f ${finalFiles}/gotmpl" "should exist"
|
||||
assert_file_contains ${finalFiles}/gotmpl "Hello world"
|
||||
assert "-f ${finalFiles}/gomplate" "should exist"
|
||||
assert_file_contains ${finalFiles}/gomplate "Hello world"
|
||||
|
||||
assert "-f ${finalFiles}/jinja" "should exist"
|
||||
assert_file_contains ${finalFiles}/jinja "Hello world"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue