mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 19:32:06 -05:00
HackStudio: Search for libraries definitions in Userland/
Previously, the ProjectBuilder searched for serenity library definitions under Userland/Libraries. However, not all libraries are defined there. For example, LibShell is under Userland/Shell.
This commit is contained in:
parent
096d2bb772
commit
fc10bc3cb2
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ HashMap<String, NonnullOwnPtr<ProjectBuilder::LibraryInfo>> ProjectBuilder::get_
|
|||
|
||||
void ProjectBuilder::for_each_library_definition(Function<void(String, String)> func)
|
||||
{
|
||||
Vector<String> arguments = { "-c", "find Userland/Libraries -name CMakeLists.txt | xargs grep serenity_lib" };
|
||||
Vector<String> arguments = { "-c", "find Userland -name CMakeLists.txt | xargs grep serenity_lib" };
|
||||
auto res = Core::command("/bin/sh", arguments, {});
|
||||
if (res.is_error()) {
|
||||
warnln("{}", res.error());
|
||||
|
|
Loading…
Add table
Reference in a new issue