mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
Add bash and python to make packages calls (#2193)
This commit is contained in:
parent
72df044ef5
commit
3472b7cc32
@ -2,8 +2,8 @@
|
||||
if(APPLE)
|
||||
add_custom_target(
|
||||
packages
|
||||
COMMAND "${CMAKE_SOURCE_DIR}/tools/deployment/make_osx_package.sh"
|
||||
COMMAND "${CMAKE_SOURCE_DIR}/tools/codegen/genapi.py" "${CMAKE_SOURCE_DIR}"
|
||||
COMMAND bash "${CMAKE_SOURCE_DIR}/tools/deployment/make_osx_package.sh"
|
||||
COMMAND python "${CMAKE_SOURCE_DIR}/tools/codegen/genapi.py" "${CMAKE_SOURCE_DIR}"
|
||||
"--output" "--directory" "${CMAKE_BINARY_DIR}"
|
||||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
COMMENT "Building default OS X package (no custom config)" VERBATIM
|
||||
@ -143,10 +143,10 @@ elseif(LINUX)
|
||||
|
||||
add_custom_target(
|
||||
packages
|
||||
COMMAND "${CMAKE_SOURCE_DIR}/tools/deployment/make_linux_package.sh"
|
||||
COMMAND bash "${CMAKE_SOURCE_DIR}/tools/deployment/make_linux_package.sh"
|
||||
-t ${PACKAGE_TYPE} -i "${PACKAGE_ITERATION}"
|
||||
-d "${PACKAGE_DEPENDENCIES}"
|
||||
COMMAND "${CMAKE_SOURCE_DIR}/tools/codegen/genapi.py" "${CMAKE_SOURCE_DIR}"
|
||||
COMMAND python "${CMAKE_SOURCE_DIR}/tools/codegen/genapi.py" "${CMAKE_SOURCE_DIR}"
|
||||
"--output" "--directory" "${CMAKE_BINARY_DIR}"
|
||||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
COMMENT "Building linux packages (no custom config)" VERBATIM
|
||||
|
Loading…
Reference in New Issue
Block a user