Skip to content

Commit

Permalink
to_oscad YAMLBackend: Generate a mandatory task for the source_use_ca…
Browse files Browse the repository at this point in the history
…se element
  • Loading branch information
ronald-dauster committed Apr 9, 2014
1 parent 95d4ed4 commit 3c0ae48
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions to_oscad/to_oscad2.rb
Expand Up @@ -147,6 +147,13 @@ def render_lsuc_requires mapping, use_case, license
use_case.required.each do |task|
new_folded_scalar(task.to_s, tasks)
end
if use_case.source_use_case then
puts "Found #{use_case.source_use_case}"
new_folded_scalar("Execute the to-do list of use-case " +
use_case.source_use_case +
" for the source code that you publish.",
tasks)
end

new_scalar("vol", mapping)
tasks = new_sequence(mapping)
Expand Down

0 comments on commit 3c0ae48

Please sign in to comment.