mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:17:35 +00:00
js: Port to LibMain :^)
This wasn't particularly difficult, and there's not much use for the nicer interface yet either. While unveil() is of limited use in js(1) as it should be able to open arbitrary files, I feel like we should be able to add a pledge() call.
This commit is contained in:
parent
ba0f89a4d1
commit
cfecfbb214
3 changed files with 5 additions and 4 deletions
|
@ -455,7 +455,7 @@ if (BUILD_LAGOM)
|
|||
|
||||
add_executable(js_lagom ../../Userland/Utilities/js.cpp)
|
||||
set_target_properties(js_lagom PROPERTIES OUTPUT_NAME js)
|
||||
target_link_libraries(js_lagom LagomJS LagomLine Threads::Threads)
|
||||
target_link_libraries(js_lagom LagomJS LagomLine LagomMain Threads::Threads)
|
||||
|
||||
add_executable(markdown-check_lagom ../../Userland/Utilities/markdown-check.cpp)
|
||||
set_target_properties(markdown-check_lagom PROPERTIES OUTPUT_NAME markdown-check)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue