-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdeploy.bat
41 lines (36 loc) · 1.71 KB
/
deploy.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@echo off
SET ROOT=%~d0%~p0%
SET BINARYDIR="%ROOT%build_output"
SET DEPLOYDIR="%ROOT%ReleaseBinaries"
SET SRC="%DIR%src"
IF EXIST %BINARYDIR% (
rmdir /Q /S %BINARYDIR%
)
mkdir %BINARYDIR%
IF EXIST %DEPLOYDIR% (
rmdir /Q /S %DEPLOYDIR%
)
mkdir %DEPLOYDIR%
mkdir %DEPLOYDIR%\plugins
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe %SOURCEDIR%EditorEngine.sln /property:OutDir=%BINARYDIR%\;Configuration=Release /target:rebuild
xcopy %BINARYDIR%\Mono.Cecil.dll %DEPLOYDIR%\
xcopy %BINARYDIR%\EditorClient.exe %DEPLOYDIR%\
xcopy %BINARYDIR%\EditorEngine.exe %DEPLOYDIR%\
xcopy %BINARYDIR%\EditorEngine.Core.dll %DEPLOYDIR%\
xcopy %BINARYDIR%\gedit.dll %DEPLOYDIR%\plugins\
xcopy %BINARYDIR%\vim.dll %DEPLOYDIR%\plugins\
xcopy %SRC%\Plugins\vim\vim.executable %DEPLOYDIR%\plugins\
xcopy %SRC%\Plugins\vim\vim.parameters %DEPLOYDIR%\plugins\
xcopy %BINARYDIR%\configured.dll %DEPLOYDIR%\plugins\
xcopy %SRC%\Plugins\configured\configured.editor %DEPLOYDIR%\plugins\
echo f|xcopy %BINARYDIR%\configured.dll %DEPLOYDIR%\plugins\emacsconfigured.dll /y
xcopy %SRC%\Plugins\configured\Configurations\emacs.editor %DEPLOYDIR%\plugins\emacsconfigured.editor
echo f|xcopy %BINARYDIR%\configured.dll %DEPLOYDIR%\plugins\notepad++.dll /y
xcopy %SRC%\Plugins\configured\Configurations\notepad++.editor %DEPLOYDIR%\plugins\
echo f|xcopy %BINARYDIR%\configured.dll %DEPLOYDIR%\plugins\ultraedit.dll /y
xcopy %SRC%\Plugins\configured\Configurations\ultraedit.editor %DEPLOYDIR%\plugins\
xcopy %BINARYDIR%\sublime.dll %DEPLOYDIR%\plugins\
xcopy %SRC%\Plugins\Sublime\sublime.editor %DEPLOYDIR%\plugins\
xcopy %BINARYDIR%\emacs.dll %DEPLOYDIR%\plugins\
xcopy %BINARYDIR%\test.dll %DEPLOYDIR%\plugins\
xcopy %SRC%\editor.oicfgoptions %DEPLOYDIR%\