Commit de7658a2 authored by MICHON Nicolas's avatar MICHON Nicolas

[dev] Delete data/grid5000 directory before writing json files

parent 727326c1
......@@ -117,6 +117,9 @@ if global_hash['uid']
end
puts "Generating the reference api:\n\n"
puts "Removing #{refapi_path} directory:\n"
FileUtils.rm_rf(refapi_path)
puts "Done."
# Generate global network_equipments (renater links)
global_hash["network_equipments"].each do |network_uid, network|
......
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