forked from gpkvt/modernie_selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
61 lines (47 loc) · 3.54 KB
/
Makefile
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
55
56
57
58
59
60
61
all: fetch fetch_vms
fetch: Tools/selenium_conf/selenium-server-standalone.jar Tools/deuac.iso Tools/selenium_conf/IEDriverServer.exe Tools/jre-windows-i586.exe Tools/firefox.exe Tools/chrome.exe
fetch_vms: VMs/IE11\ -\ Win7.ova VMs/IE8\ -\ Win7.ova VMs/IE10\ -\ Win7.ova VMs/IE9\ -\ Win7.ova
VMs/IE11\ -\ Win7.ova:
curl -O -L "https://www.modern.ie/vmdownload?platform=mac&virtPlatform=virtualbox&browserOS=IE11-Win7&parts=4&filename=VMBuild_20131127/VirtualBox/IE11_Win7/Mac/IE11.Win7.For.MacVirtualBox.part{1.sfx,2.rar,3.rar,4.rar}"
chmod +x IE11.Win7.For.MacVirtualBox.part1.sfx
./IE11.Win7.For.MacVirtualBox.part1.sfx
mkdir VMs || true
mv "$(@F)" VMs
rm IE11.Win7.For.MacVirtualBox.part1.sfx IE11.Win7.For.MacVirtualBox.part2.rar IE11.Win7.For.MacVirtualBox.part3.rar IE11.Win7.For.MacVirtualBox.part4.rar
VMs/IE10\ -\ Win7.ova:
curl -O -L "https://www.modern.ie/vmdownload?platform=mac&virtPlatform=virtualbox&browserOS=IE10-Win7&parts=4&filename=VMBuild_20131127/VirtualBox/IE10_Win7/Mac/IE10.Win7.For.MacVirtualBox.part{1.sfx,2.rar,3.rar,4.rar}"
chmod +x IE10.Win7.For.MacVirtualBox.part1.sfx
./IE10.Win7.For.MacVirtualBox.part1.sfx
mkdir VMs || true
mv "$(@F)" VMs
rm IE10.Win7.For.MacVirtualBox.part1.sfx IE10.Win7.For.MacVirtualBox.part2.rar IE10.Win7.For.MacVirtualBox.part3.rar IE10.Win7.For.MacVirtualBox.part4.rar
VMs/IE9\ -\ Win7.ova:
curl -O -L "https://www.modern.ie/vmdownload?platform=mac&virtPlatform=virtualbox&browserOS=IE9-Win7&parts=4&filename=VMBuild_20131127/VirtualBox/IE9_Win7/Mac/IE9.Win7.For.MacVirtualBox.part{1.sfx,2.rar,3.rar,4.rar}"
chmod +x IE9.Win7.For.MacVirtualBox.part1.sfx
./IE9.Win7.For.MacVirtualBox.part1.sfx
mkdir VMs || true
mv "$(@F)" VMs
rm IE9.Win7.For.MacVirtualBox.part1.sfx IE9.Win7.For.MacVirtualBox.part2.rar IE9.Win7.For.MacVirtualBox.part3.rar IE9.Win7.For.MacVirtualBox.part4.rar
VMs/IE8\ -\ Win7.ova:
curl -O -L "https://www.modern.ie/vmdownload?platform=mac&virtPlatform=virtualbox&browserOS=IE8-Win7&parts=4&filename=VMBuild_20131127/VirtualBox/IE8_Win7/Mac/IE8.Win7.For.MacVirtualBox.part{1.sfx,2.rar,3.rar,4.rar}"
chmod +x IE8.Win7.For.MacVirtualBox.part1.sfx
./IE8.Win7.For.MacVirtualBox.part1.sfx
mkdir VMs || true
mv "$(@F)" VMs
rm IE8.Win7.For.MacVirtualBox.part1.sfx IE8.Win7.For.MacVirtualBox.part2.rar IE8.Win7.For.MacVirtualBox.part3.rar IE8.Win7.For.MacVirtualBox.part4.rar
Tools/selenium_conf/selenium-server-standalone.jar:
curl -o Tools/selenium_conf/selenium-server-standalone.jar -L http://selenium-release.storage.googleapis.com/2.44/selenium-server-standalone-2.44.0.jar
Tools/deuac.iso:
curl -o Tools/deuac.iso -L https://github.com/tka/SeleniumBox/blob/master/deuac.iso?raw=true
Tools/selenium_conf/IEDriverServer.exe:
curl -o Tools/selenium_conf/IEDriverServer.zip -L http://selenium-release.storage.googleapis.com/2.44/IEDriverServer_Win32_2.44.0.zip
#curl -o Tools/selenium_conf/IEDriverServer.zip -L http://selenium-release.storage.googleapis.com/2.44/IEDriverServer_x64_2.44.0.zip
cd Tools/selenium_conf && unzip IEDriverServer.zip
Tools/jre-windows-i586.exe:
echo "You may need to download Java for Windows from http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html "
test -f $(ls jre*.exe|head -n 1) && mv jre-*-windows-i586.exe $@
Tools/firefox.exe:
curl -o $@ -L "https://download.mozilla.org/?product=firefox-34.0.5-SSL&os=win&lang=en-GB"
Tools/chrome.exe:
echo "You may need to download chrome for windows from https://www.google.com/chrome/browser/desktop/index.html?standalone=1"
test -f ChromeStandaloneSetup.exe && mv ChromeStandaloneSetup.exe $@