Deploy script now also deploying shaders and textures.
This commit is contained in:
@@ -30,4 +30,5 @@ ipch/
|
|||||||
[Rr]elease*/
|
[Rr]elease*/
|
||||||
Ankh.NoLoad
|
Ankh.NoLoad
|
||||||
|
|
||||||
|
assets/
|
||||||
deploy.bat
|
deploy.bat
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
models/
|
|
||||||
textures/
|
|
||||||
+8
-2
@@ -4,7 +4,8 @@
|
|||||||
SET AssetSource=%UserProfile%\Google Drive\Fisk_ Litet Spelprojekt\Assets
|
SET AssetSource=%UserProfile%\Google Drive\Fisk_ Litet Spelprojekt\Assets
|
||||||
|
|
||||||
ECHO Copying assets from %AssetSource%
|
ECHO Copying assets from %AssetSource%
|
||||||
XCOPY "%AssetSource%" "assets\" /S /Y /Q
|
RMDIR "assets\" /S /Q
|
||||||
|
XCOPY "%AssetSource%" "assets\" /E /Y /Q
|
||||||
CALL :deploy Debug
|
CALL :deploy Debug
|
||||||
CALL :deploy Release
|
CALL :deploy Release
|
||||||
GOTO:eof
|
GOTO:eof
|
||||||
@@ -12,7 +13,12 @@ GOTO:eof
|
|||||||
:deploy
|
:deploy
|
||||||
ECHO Deploying %~1
|
ECHO Deploying %~1
|
||||||
SET ConfigPath=bin\%~1
|
SET ConfigPath=bin\%~1
|
||||||
MKLINK "%ConfigPath%\assets\" "assets\" /J
|
:: Asset folders
|
||||||
|
MKLINK "%ConfigPath%\models\" "assets\models" /J
|
||||||
|
MKLINK "%ConfigPath%\textures\" "assets\textures\" /J
|
||||||
|
:: Shaders
|
||||||
|
MKLINK "%ConfigPath%\shaders\" "src\shaders\" /J
|
||||||
|
:: DLLs
|
||||||
MKLINK "%ConfigPath%\glfw3.dll" "libs\glfw-3.0.4\lib\%~1\glfw3.dll" /H
|
MKLINK "%ConfigPath%\glfw3.dll" "libs\glfw-3.0.4\lib\%~1\glfw3.dll" /H
|
||||||
MKLINK "%ConfigPath%\OpenAL32.dll" "libs\openal-soft-1.15.1\lib\Win32\%~1\OpenAL32.dll" /H
|
MKLINK "%ConfigPath%\OpenAL32.dll" "libs\openal-soft-1.15.1\lib\Win32\%~1\OpenAL32.dll" /H
|
||||||
IF %~1==Debug (
|
IF %~1==Debug (
|
||||||
|
|||||||
Reference in New Issue
Block a user