Fixes service loading issue in gen-config.
parent
ff4c1cc08d
commit
19f825dba4
|
@ -48,9 +48,9 @@ class GenConfig::Context
|
||||||
end
|
end
|
||||||
|
|
||||||
def generate(template, target : String, options : Hash(String, Variables))
|
def generate(template, target : String, options : Hash(String, Variables))
|
||||||
|
Environment.load ENVIRONMENTS_DIRECTORY
|
||||||
ServiceDefinition.load SERVICES_DIRECTORY
|
ServiceDefinition.load SERVICES_DIRECTORY
|
||||||
Service.load RC_DIRECTORY
|
Service.load RC_DIRECTORY
|
||||||
Environment.load ENVIRONMENTS_DIRECTORY
|
|
||||||
|
|
||||||
target_file = File.open target, "w"
|
target_file = File.open target, "w"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue