Move Symbol-Processor Lint To Other CI
This commit is contained in:
parent
457d070dea
commit
0a0c3cebb3
20
dependencies/symbol-processor/CMakeLists.txt
vendored
20
dependencies/symbol-processor/CMakeLists.txt
vendored
@ -3,18 +3,8 @@ project(symbol-processor)
|
||||
# Install Dependencies
|
||||
set(SRC "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
||||
set(NODE_MODULES "${SRC}/node_modules")
|
||||
function(npm_run)
|
||||
execute_process(
|
||||
COMMAND npm ${ARGV}
|
||||
WORKING_DIRECTORY "${SRC}"
|
||||
RESULT_VARIABLE RESULT
|
||||
)
|
||||
if(NOT RESULT EQUAL 0)
|
||||
file(REMOVE_RECURSE "${NODE_MODULES}")
|
||||
message(FATAL_ERROR "Unable To Run NPM Command")
|
||||
endif()
|
||||
endfunction()
|
||||
if(NOT EXISTS "${NODE_MODULES}")
|
||||
npm_run(ci --silent)
|
||||
npm_run(run --silent lint)
|
||||
endif()
|
||||
execute_process(
|
||||
COMMAND npm ci --silent
|
||||
WORKING_DIRECTORY "${SRC}"
|
||||
COMMAND_ERROR_IS_FATAL ANY
|
||||
)
|
||||
|
2
dependencies/symbol-processor/src
vendored
2
dependencies/symbol-processor/src
vendored
@ -1 +1 @@
|
||||
Subproject commit c803572e248998cc9d197f84661fea56bebf7346
|
||||
Subproject commit 16ab0983a7a56880cfbe2c0339ed22a04f7ec69f
|
Loading…
x
Reference in New Issue
Block a user