forked from sillsdev/flexbridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UpdateDependencies.sh
executable file
·35 lines (27 loc) · 1.67 KB
/
UpdateDependencies.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
# Since Chorus and Palaso libraries change frequently, you will likely need to get those
# projects and be able to build them. Run this script to build and cp those libraries.
# This script assumes that the Chorus and Palaso directories are on the same level as
# this one, and that the FieldWorks repo is in C:/fwrepo.
# It copies the needed libraries into the lib folder.
if [ "$1"=="" ]
then
BUILD_CONFIG=Debug
else
BUILD_CONFIG=$1
fi
cp ../chorus/Download/L10NSharp.dll* lib/common/
# Uncomment these two lines if you are working on L10NSharp
# cp ../l10nsharp/output/${BUILD_CONFIG}Mono/L10NSharp.dll lib/common/
# cp ../l10nsharp/output/${BUILD_CONFIG}Mono/L10NSharp.* lib/${BUILD_CONFIG}Mono/
cp ../chorus/output/${BUILD_CONFIG}Mono/LibChorus.TestUtilities.dll* lib/${BUILD_CONFIG}Mono/
cp ../chorus/output/${BUILD_CONFIG}Mono/LibChorus.TestUtilities.dll* output/${BUILD_CONFIG}Mono/
cp ../chorus/output/${BUILD_CONFIG}Mono/LibChorus.dll* lib/${BUILD_CONFIG}Mono/
cp ../chorus/output/${BUILD_CONFIG}Mono/LibChorus.dll* output/${BUILD_CONFIG}Mono/
cp ../chorus/output/${BUILD_CONFIG}Mono/Chorus.exe* lib/${BUILD_CONFIG}Mono/
cp ../chorus/output/${BUILD_CONFIG}Mono/Chorus.exe* output/${BUILD_CONFIG}Mono/
cp ../chorus/output/${BUILD_CONFIG}Mono/ChorusMerge.exe* lib/${BUILD_CONFIG}Mono/
cp ../chorus/output/${BUILD_CONFIG}Mono/ChorusMerge.exe* output/${BUILD_CONFIG}Mono/
cp ../chorus/output/${BUILD_CONFIG}Mono/ChorusHub.exe* lib/${BUILD_CONFIG}Mono/
cp ../chorus/output/${BUILD_CONFIG}Mono/ChorusHub.exe* output/${BUILD_CONFIG}Mono/
cp ../chorus/output/${BUILD_CONFIG}Mono/Palaso*.dll* lib/${BUILD_CONFIG}Mono/
cp ../chorus/output/${BUILD_CONFIG}Mono/Palaso*.dll* output/${BUILD_CONFIG}Mono/