mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-23 08:06:11 +00: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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user