-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdeploy.sh
executable file
·46 lines (40 loc) · 1.65 KB
/
deploy.sh
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
42
43
44
45
46
#!/bin/bash
BINARYDIR=$(cd $(dirname "$0"); pwd)/build_output
DEPLOYDIR=$(cd $(dirname "$0"); pwd)/ReleaseBinaries
SOURCEDIR=$(cd $(dirname "$0"); pwd)/src
if [ ! -d $BINARYDIR ]; then
{
mkdir $BINARYDIR
}
fi
if [ ! -d $DEPLOYDIR ]; then
{
mkdir $DEPLOYDIR
}
fi
rm -r $BINARYDIR/*
rm -r $DEPLOYDIR/*
mkdir $DEPLOYDIR/plugins
echo $BINARYDIR
xbuild EditorEngine.sln /target:rebuild /property:OutDir=$BINARYDIR/;Configuration=Release;
cp $BINARYDIR/Mono.Cecil.dll $DEPLOYDIR/
cp $BINARYDIR/EditorClient.exe $DEPLOYDIR/
cp $BINARYDIR/EditorEngine.exe $DEPLOYDIR/
cp $BINARYDIR/EditorEngine.Core.dll $DEPLOYDIR/
cp -r $BINARYDIR/gedit.dll $DEPLOYDIR/plugins
cp -r $BINARYDIR/vim.dll $DEPLOYDIR/plugins
cp -r $SOURCEDIR/Plugins/vim/vim.executable $DEPLOYDIR/plugins
cp -r $SOURCEDIR/Plugins/vim/vim.parameters $DEPLOYDIR/plugins
cp -r $BINARYDIR/configured.dll $DEPLOYDIR/plugins
cp -r $SOURCEDIR/Plugins/configured/configured.editor $DEPLOYDIR/plugins
cp -r $BINARYDIR/configured.dll $DEPLOYDIR/plugins/emacsconfigured.dll
cp -r $SOURCEDIR/Plugins/configured/Configurations/emacs.editor $DEPLOYDIR/plugins/emacsconfigured.editor
cp -r $BINARYDIR/configured.dll $DEPLOYDIR/plugins/notepad++.dll
cp -r $SOURCEDIR/Plugins/configured/Configurations/notepad++.editor $DEPLOYDIR/plugins
cp -r $BINARYDIR/configured.dll $DEPLOYDIR/plugins/ultraedit.dll
cp -r $SOURCEDIR/Plugins/configured/Configurations/ultraedit.editor $DEPLOYDIR/plugins
cp -r $BINARYDIR/sublime.dll $DEPLOYDIR/plugins
cp -r $SOURCEDIR/Plugins/sublime/sublime.editor $DEPLOYDIR/plugins
cp -r $BINARYDIR/emacs.dll $DEPLOYDIR/plugins
cp -r $BINARYDIR/test.dll $DEPLOYDIR/plugins
cp $SOURCEDIR/editor.oicfgoptions $DEPLOYDIR/