Skip to content

Commit

Permalink
provide config/orogen/.cache as a cache directory for orogen configur…
Browse files Browse the repository at this point in the history
…ation files
  • Loading branch information
doudou committed Apr 24, 2018
1 parent 5107943 commit 5492006
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lib/syskit/task_configuration_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,14 @@ def reload
Array.new
end
end

# The cache directory used by the Syskit app to speed up configuration loading
def cache_dir
File.join(app.app_dir, 'config', 'orogen', '.cache')
end

def load_from_yaml(path, cache_dir: self.cache_dir)
super
end
end
end

0 comments on commit 5492006

Please sign in to comment.