Commit a9e2bd31 authored by Colin Shea's avatar Colin Shea

don't care about how the files are deployed

parent 112915d3
......@@ -12,4 +12,3 @@ config = YAML.load_file(ENV['ZONE_CONFIG_FILE'] || "config.yaml")
generator = ZoneGenerator.new(config, Dir.pwd)
generator.purge!
generator.generate
generator.deploy
......@@ -91,16 +91,4 @@ class ZoneGenerator
FileUtils.mkdir_p File.dirname(output_file_path)
File.open(output_file_path, "w"){|f| f.write new_output }
end
def deploy
cmd = @config['execute']
print "Executing '#{cmd}' ... "
out = `#{cmd}`
puts "done"
if $?.to_i != 0
raise out
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment