mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add --include-path option
This commit is contained in:
@@ -422,6 +422,9 @@ bool CommandLineInterface::readInputFiles()
|
||||
}
|
||||
}
|
||||
|
||||
for (boost::filesystem::path const& includePath: m_options.input.includePaths)
|
||||
m_fileReader.addIncludePath(includePath);
|
||||
|
||||
for (boost::filesystem::path const& allowedDirectory: m_options.input.allowedDirectories)
|
||||
m_fileReader.allowDirectory(allowedDirectory);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user