diff --git a/.gitmodules b/.gitmodules index af97222..ec83a45 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "depot"] path = depot url = git@dev.v4.games:v4games/depot.git +[submodule "website"] + path = website + url = git@dev.v4.games:v4games/website.git diff --git a/MAKE.bat b/MAKE.bat index 2e424f1..c38b01e 100644 --- a/MAKE.bat +++ b/MAKE.bat @@ -29,6 +29,7 @@ if "%1"=="help" ( echo %0 [bind] ; generate lua bindings echo %0 [test] ; check untracked allocators in V4K echo %0 [todo] ; check for @fixme and @todo + echo %0 [v4web] ; sync v4 website echo %0 [split^|join] ; engine/v4k* ^>split^> engine/split/* or engine/split/* ^>join^> engine/v4k* echo %0 [lua] ; execute lua script with v4k echo %0 [amalgamation] ; combine engine/v4k* into a single-header file @@ -265,6 +266,16 @@ if "%1"=="todo" ( exit /b ) +if "%1"=="v4web" ( + pushd website\ + git pull origin main + git add . + git commit -m "website update" + git push origin main + popd + exit /b +) + if "%1"=="html5" ( pushd demos\html5 call make.bat %2 diff --git a/website b/website new file mode 160000 index 0000000..82d0ac7 --- /dev/null +++ b/website @@ -0,0 +1 @@ +Subproject commit 82d0ac77f11697315cbdc8a4e26e06810fc117dd