mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-10-01 03:59:20 +02:00
ci, examples : add package-lock.json to examples addon node (#3919)
* ci, examples : add package-lock.json to examples addon node This commit commits the package-lock.json file for examples/addon.node. This is needed to make the CI workflow work properly and after we started pinning the action versions in the workflow, the CI started failing because the package-lock.json was not committed. At least that is what I think is happening. * ci: use node 20.x and 22.x instead of 16.x and 18.x * fix CMakeLists.txt target properties for addon.node
This commit is contained in:
@@ -8,9 +8,12 @@ include_directories(${CMAKE_JS_INC})
|
||||
#==================================================================
|
||||
|
||||
add_library(${TARGET} SHARED ${CMAKE_JS_SRC} addon.cpp)
|
||||
set_target_properties(${TARGET} PROPERTIES PREFIX "" SUFFIX ".node")
|
||||
|
||||
include(DefaultTargetOptions)
|
||||
set_target_properties(${TARGET} PROPERTIES
|
||||
PREFIX ""
|
||||
OUTPUT_NAME "addon"
|
||||
SUFFIX ".node"
|
||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/Release"
|
||||
)
|
||||
|
||||
# Include N-API wrappers
|
||||
#==================================================================
|
||||
|
||||
Generated
+4359
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user