Merge pull request #1838 from lonvia/make-serve

add 'make serve' command
This commit is contained in:
Sarah Hoffmann 2020-06-19 20:12:56 +02:00 committed by GitHub
commit d373f16c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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()
#-----------------------------------------------------------------------------