Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f9def9ab authored by MICHON Nicolas's avatar MICHON Nicolas
Browse files

[dev] Added wiki namespace in Rakefile

parent d9e9bb19
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@ REFAPI_DIR = "./generators/reference-api"
PUPPET_DIR = "./generators/puppet"
OAR_DIR = "./generators/oar-properties"
VALIDATORS_DIR = "./generators/input-validators"
WIKI_DIR = "./generators/wiki"
namespace :puppet do
......@@ -46,6 +47,23 @@ namespace :validators do
end
end
namespace :wiki do
all_wiki_tasks = [:cpu_parameters]
all_wiki_tasks.each { |t|
desc "Generate the media parts for #{t}"
task t do
puts "#{WIKI_DIR}/#{t}.rb #{$CMD_ARGS}"
ruby "#{WIKI_DIR}/#{t}.rb #{$CMD_ARGS}"
end
}
desc "Launch all wiki generators"
task :all => all_wiki_tasks
end
desc "Creates json data from inputs"
task "reference-api" => ["validators:homogeneity", "validators:schema"] do
#no args needed here
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment