forked from yalov/CommNetAntennasConsumptor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildDeploy.bat
23 lines (17 loc) · 811 Bytes
/
buildDeploy.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
echo BUILDDEPLOY.BAT
rem v2
rem instruction in the BUILDRELEASE.BAT
rem Set variables here
set GAMEPATH=c:\Users\User\Games\Kerbal Space Program 1.12.2
set MODNAME=CommNetAntennasConsumptor
REM copying dll and .version to Repository/GameData
REM /Y Suppresses prompting to confirm that you want to overwrite an existing destination file.
REM /Q Suppresses the display of files
REM /I Suppresses prompting to specify whether Destination is a file or a directory
xcopy "%1%2" "GameData\%MODNAME%\Plugins\" /Y /I /Q
xcopy "%MODNAME%.version" "GameData\%MODNAME%\" /Y /I /Q
REM copying Repository/GameData to GAMEPATH
REM mkdir "%GAMEPATH%\GameData\%MODNAME%"
REM /S recursive copuing un-empty directories
xcopy "GameData\%MODNAME%" "%GAMEPATH%\GameData\%MODNAME%\" /Y /I /Q /S