feat: port artefact context to other functions

This commit is contained in:
David Bailey 2023-04-20 09:49:54 +02:00
parent 1878186c4f
commit fe23382dcc
5 changed files with 29 additions and 28 deletions

View file

@ -61,10 +61,10 @@ module Comfpile
end
def craft(stage, target)
def craft(stage, target, context)
return unless stage == :config_file
ConfigArtefact.new(@core, self, stage, target)
ConfigArtefact.new(@core, self, stage, target, context)
end
end
end