Mercurial > games > semicongine
changeset 27:8cb2d96ac28e
did: simplify publishing mechanism
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 11 Jan 2023 11:55:54 +0700 |
parents | 8b4bc545958d |
children | b1b05d4efb52 |
files | Makefile |
diffstat | 1 files changed, 3 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Jan 11 11:43:59 2023 +0700 +++ b/Makefile Wed Jan 11 11:55:54 2023 +0700 @@ -39,37 +39,14 @@ rm -rf build rm -rf thirdparty +# tests .PHONY: tests - -# tests tests: testament p tests/ # publish -publish_linux_debug_hello_triangle: build/debug/linux/hello_triangle - scp $< basx.dev:/var/www/public.basx.dev/joni/linux/debug/ -publish_linux_release_hello_triangle: build/release/linux/hello_triangle - scp $< basx.dev:/var/www/public.basx.dev/joni/linux/release/ -publish_windows_debug_hello_triangle: build/debug/linux/hello_triangle.exe - scp $< basx.dev:/var/www/public.basx.dev/joni/windows/debug/ -publish_windows_release_hello_triangle: build/release/linux/hello_triangle.exe - scp $< basx.dev:/var/www/public.basx.dev/joni/windows/release/ -publish_all_linux_hello_triangle: publish_linux_debug_hello_triangle publish_linux_release_hello_triangle -publish_all_windows_hello_triangle: publish_windows_debug_hello_triangle publish_windows_release_hello_triangle -publish_all_alotof_hello_triangle: publish_all_linux_hello_triangle publish_all_windows_hello_triangle - -publish_linux_debug_alotof_triangles: build/debug/linux/alotof_triangles - scp $< basx.dev:/var/www/public.basx.dev/joni/linux/debug/ -publish_linux_release_alotof_triangles: build/release/linux/alotof_triangles - scp $< basx.dev:/var/www/public.basx.dev/joni/linux/release/ -publish_windows_debug_alotof_triangles: build/debug/linux/alotof_triangles.exe - scp $< basx.dev:/var/www/public.basx.dev/joni/windows/debug/ -publish_windows_release_alotof_triangles: build/release/linux/alotof_triangles.exe - scp $< basx.dev:/var/www/public.basx.dev/joni/windows/release/ -publish_all_linux_alotof_triangles: publish_linux_debug_alotof_triangles publish_linux_release_alotof_triangles -publish_all_windows_alotof_triangles: publish_windows_debug_alotof_triangles publish_windows_release_alotof_triangles -publish_all_alotof_triangles: publish_all_linux_alotof_triangles publish_all_windows_alotof_triangles - +publish: + rsync -rv build/ basx.dev:/var/www/public.basx.dev/zamikongine # download thirdparty-libraries