Commit b28a9c84 authored by Yuichiro MASUI's avatar Yuichiro MASUI

Fixed build dependency

parent fe954098
def get_dependencies(file)
file = file.pathmap('%n.d') unless File.extname(file) == '.d'
file = file.ext('d') unless File.extname(file) == '.d'
if File.exists?(file)
File.read(file).gsub("\\\n ", "").scan(/^\S+:\s+(.+)$/).flatten.map {|s| s.split(' ') }.flatten
else
......
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