Deploy script now also deploying shaders and textures.
This commit is contained in:
@@ -30,4 +30,5 @@ ipch/
|
||||
[Rr]elease*/
|
||||
Ankh.NoLoad
|
||||
|
||||
assets/
|
||||
deploy.bat
|
||||
@@ -1,2 +0,0 @@
|
||||
models/
|
||||
textures/
|
||||
+8
-2
@@ -4,7 +4,8 @@
|
||||
SET AssetSource=%UserProfile%\Google Drive\Fisk_ Litet Spelprojekt\Assets
|
||||
|
||||
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 Release
|
||||
GOTO:eof
|
||||
@@ -12,7 +13,12 @@ GOTO:eof
|
||||
:deploy
|
||||
ECHO Deploying %~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%\OpenAL32.dll" "libs\openal-soft-1.15.1\lib\Win32\%~1\OpenAL32.dll" /H
|
||||
IF %~1==Debug (
|
||||
|
||||
Reference in New Issue
Block a user