Sha256: 86f7e77fac03d69ee7526450d452ccdf60cacef2cccf3652d42b6483de6e5eb8
Contents?: true
Size: 601 Bytes
Versions: 7
Compression:
Stored size: 601 Bytes
Contents
class Kubes::CLI class Compile < Base # Separate command like prune can call compile. Apply also calls Prune. # Instead of moving Compile out of Prune, will use this class variable. # In case we have other cases where compile is called in another area. # We only want compiled to be called once so hooks only fire once. # Done here so we don't clean and remove the .kubes/output folder. @@compiled = false def run return if @@compiled Clean.new(@options.merge(mute: true)).run Kubes::Compiler.new(@options).run @@compiled = true end end end
Version data entries
7 entries across 7 versions & 1 rubygems