summaryrefslogtreecommitdiff
path: root/Userland/DevTools
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2022-03-19 12:28:54 +0200
committerAndreas Kling <kling@serenityos.org>2022-03-19 22:02:44 +0100
commitfc10bc3cb2e922a506d66accbdfbbc33bc3f5047 (patch)
treea936e5d5d07bbb693481b2b6d45575186bc240dd /Userland/DevTools
parent096d2bb7724c9c4ab5b2ca4ff438e889ad04bd86 (diff)
downloadserenity-fc10bc3cb2e922a506d66accbdfbbc33bc3f5047.zip
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.
Diffstat (limited to 'Userland/DevTools')
-rw-r--r--Userland/DevTools/HackStudio/ProjectBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/ProjectBuilder.cpp b/Userland/DevTools/HackStudio/ProjectBuilder.cpp
index c0683f45b8..c4ca40d33b 100644
--- a/Userland/DevTools/HackStudio/ProjectBuilder.cpp
+++ b/Userland/DevTools/HackStudio/ProjectBuilder.cpp
@@ -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());