fix(generator): replace gotmpl with gomplate

This commit is contained in:
asimon 2026-01-25 12:15:49 +01:00
parent 5e479f3662
commit a8acaf7143
7 changed files with 12 additions and 12 deletions

View file

@ -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"