add website submodule

main
Dominik Madarász 2023-10-28 20:04:10 +02:00
parent 48ecfdef3a
commit 833f699c01
3 changed files with 15 additions and 0 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "depot"] [submodule "depot"]
path = depot path = depot
url = git@dev.v4.games:v4games/depot.git url = git@dev.v4.games:v4games/depot.git
[submodule "website"]
path = website
url = git@dev.v4.games:v4games/website.git

View File

@ -29,6 +29,7 @@ if "%1"=="help" (
echo %0 [bind] ; generate lua bindings echo %0 [bind] ; generate lua bindings
echo %0 [test] ; check untracked allocators in V4K echo %0 [test] ; check untracked allocators in V4K
echo %0 [todo] ; check for @fixme and @todo 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 [split^|join] ; engine/v4k* ^>split^> engine/split/* or engine/split/* ^>join^> engine/v4k*
echo %0 [lua] ; execute lua script with v4k echo %0 [lua] ; execute lua script with v4k
echo %0 [amalgamation] ; combine engine/v4k* into a single-header file echo %0 [amalgamation] ; combine engine/v4k* into a single-header file
@ -265,6 +266,16 @@ if "%1"=="todo" (
exit /b 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" ( if "%1"=="html5" (
pushd demos\html5 pushd demos\html5
call make.bat %2 call make.bat %2

1
website 160000

@ -0,0 +1 @@
Subproject commit 82d0ac77f11697315cbdc8a4e26e06810fc117dd