set(CUSTOMSCRIPTS
check_import_finished.php
country_languages.php
- importWikipedia.php
export.php
query.php
setup.php
${PROJECT_BINARY_DIR}/utils/${script_source})
endforeach()
- set(NOMINATIM_TOOLS
- setup
- update
- admin
- query
- )
-
- foreach (tool_name ${NOMINATIM_TOOLS})
- configure_file(${PROJECT_SOURCE_DIR}/cmake/tool.tmpl
- ${PROJECT_BINARY_DIR}/nominatim-${tool_name})
- endforeach()
+ configure_file(${PROJECT_SOURCE_DIR}/cmake/tool.tmpl
+ ${PROJECT_BINARY_DIR}/nominatim)
endif()
#-----------------------------------------------------------------------------
add_test(NAME phpcs
COMMAND phpcs --report-width=120 --colors lib website utils
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
+
+ add_test(NAME pylint
+ COMMAND pylint3 nominatim
+ WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
endif()
#-----------------------------------------------------------------------------