]> git.openstreetmap.org Git - nominatim.git/blobdiff - CMakeLists.txt
Upgrade Travis-CI from Ubuntu 18 to 20
[nominatim.git] / CMakeLists.txt
index facd3f30bb692a82ed29283d65514e160ba12a83..787baeb23de7e0c9afb7621024d2f448b2c63391 100644 (file)
@@ -141,6 +141,11 @@ if (BUILD_API)
            COMMAND ln -sf ${PROJECT_SOURCE_DIR}/website/${wp} ${PROJECT_BINARY_DIR}/website/
        )
    endforeach()
+
+   add_custom_target(serve
+           php -S 127.0.0.1:8088
+           WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/website
+   )
 endif()
 
 #-----------------------------------------------------------------------------