forked from xenit-eu/alfred-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·54 lines (44 loc) · 2.48 KB
/
setup.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
47
48
49
50
51
52
53
54
#!/bin/bash
# Setup shared symlinks
cd "${0%/*}"
rm -f "apix-impl/61/src/main/java-shared"
rm -f "apix-impl/60/src/main/java-shared"
rm -f "apix-impl/52/src/main/java-shared"
rm -f "apix-impl/51/src/main/java-shared"
rm -f "apix-impl/50/src/main/java-shared"
ln -s "../../../src/main/java/" "apix-impl/61/src/main/java-shared"
ln -s "../../../src/main/java/" "apix-impl/60/src/main/java-shared"
ln -s "../../../src/main/java/" "apix-impl/52/src/main/java-shared"
ln -s "../../../src/main/java/" "apix-impl/51/src/main/java-shared"
ln -s "../../../src/main/java/" "apix-impl/50/src/main/java-shared"
rm -f "apix-impl/61/src/test/java-shared"
rm -f "apix-impl/60/src/test/java-shared"
rm -f "apix-impl/52/src/test/java-shared"
rm -f "apix-impl/51/src/test/java-shared"
rm -f "apix-impl/50/src/test/java-shared"
mkdir -p "apix-impl/61/src/test"
mkdir -p "apix-impl/60/src/test"
mkdir -p "apix-impl/52/src/test"
mkdir -p "apix-impl/51/src/test"
mkdir -p "apix-impl/50/src/test"
ln -s "../../../src/test/java/" "apix-impl/61/src/test/java-shared"
ln -s "../../../src/test/java/" "apix-impl/60/src/test/java-shared"
ln -s "../../../src/test/java/" "apix-impl/52/src/test/java-shared"
ln -s "../../../src/test/java/" "apix-impl/51/src/test/java-shared"
ln -s "../../../src/test/java/" "apix-impl/50/src/test/java-shared"
rm -f "apix-integrationtests/61/src/integration-test/java-shared"
rm -f "apix-integrationtests/60/src/integration-test/java-shared"
rm -f "apix-integrationtests/52/src/integration-test/java-shared"
rm -f "apix-integrationtests/51/src/integration-test/java-shared"
rm -f "apix-integrationtests/50/src/integration-test/java-shared"
mkdir -p "apix-integrationtests/61/src/integration-test"
mkdir -p "apix-integrationtests/60/src/integration-test"
mkdir -p "apix-integrationtests/52/src/integration-test"
mkdir -p "apix-integrationtests/51/src/integration-test"
mkdir -p "apix-integrationtests/50/src/integration-test"
ln -s "../../../../apix-impl/src/integration-test/java" "apix-integrationtests/61/src/integration-test/java-shared"
ln -s "../../../../apix-impl/src/integration-test/java" "apix-integrationtests/60/src/integration-test/java-shared"
ln -s "../../../../apix-impl/src/integration-test/java" "apix-integrationtests/52/src/integration-test/java-shared"
ln -s "../../../../apix-impl/src/integration-test/java" "apix-integrationtests/51/src/integration-test/java-shared"
ln -s "../../../../apix-impl/src/integration-test/java" "apix-integrationtests/50/src/integration-test/java-shared"
echo "Setup done"