wip: refactor(config): yaml parsed

wip: chore(makefile): prepare version info
This commit is contained in:
2024-01-02 23:11:58 +11:00
parent 6a40403434
commit 6dd0a8007c
16 changed files with 213 additions and 40 deletions
+3 -3
View File
@@ -66,7 +66,7 @@ func TestRead(t *testing.T) {
assert.Nil(t, err)
assert.ElementsMatch(
t,
cfg.ServicePaths,
cfg.ServiceV0,
[]string{
path.Join(configDir, serviceDir, "one.sh"),
path.Join(configDir, serviceDir, "two.sh"),
@@ -86,7 +86,7 @@ func TestRead(t *testing.T) {
assert.Nil(t, err)
assert.ElementsMatch(
t,
cfg.ServicePaths,
cfg.ServiceV0,
[]string{
path.Join(configDir, serviceDir, "two.sh"),
},
@@ -104,7 +104,7 @@ func TestRead(t *testing.T) {
assert.Nil(t, err)
assert.ElementsMatch(
t,
cfg.ServicePaths,
cfg.ServiceV0,
[]string{
path.Join(configDir, serviceDir, "one.sh"),
},