feat: add support for hcl files

This commit is contained in:
Bruno Carlin 2025-01-15 01:49:44 +01:00
parent 14e0b29372
commit 8509f98d69
Signed by: bcarlin
GPG key ID: 8E254EA0FFEB9B6D
14 changed files with 113 additions and 5 deletions

3
test_data/full.hcl Normal file
View file

@ -0,0 +1,3 @@
String = "default string"
Invariant = "should not change"
Int = 1

1
test_data/invalid.hcl Normal file
View file

@ -0,0 +1 @@
String: not hcl

1
test_data/part1.hcl Normal file
View file

@ -0,0 +1 @@
String = "foo"

1
test_data/part2.hcl Normal file
View file

@ -0,0 +1 @@
Int = 42

1
test_data/same1.hcl Normal file
View file

@ -0,0 +1 @@
String = "foo"

1
test_data/same2.hcl Normal file
View file

@ -0,0 +1 @@
String = "bar"

3
test_data/unknown.hcl Normal file
View file

@ -0,0 +1,3 @@
String = "config string"
Int = 42
Unknown = "foo"

2
test_data/valid.hcl Normal file
View file

@ -0,0 +1,2 @@
String = "config string"
Int = 42