mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 18:46:03 +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:
parent
096d2bb772
commit
fc10bc3cb2
Notes:
sideshowbarker
2024-07-17 20:22:04 +09:00
Author: https://github.com/itamar8910
Commit: fc10bc3cb2
Pull-request: https://github.com/SerenityOS/serenity/pull/13135
Reviewed-by: https://github.com/ADKaster
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
Add a link
Reference in a new issue