2 :: Licensed under the Apache License
, Version
2.0 (the
"License");
3 :: you may
not use this file except in compliance with the License.
4 :: You may obtain a
copy of the License at
6 :: http
://www.apache.org
/licenses
/LICENSE
-2.0
8 :: Unless required by applicable law or agreed to in writing
, software
9 :: distributed under the License is distributed on an
"AS IS" BASIS
,
10 :: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
, either express or implied.
11 :: See the License
for the specific language governing permissions and
12 :: limitations under the License.
16 :: Appveyor install script
for MSVC
17 :: Installs
(or builds
) third party packages we need
21 SETLOCAL EnableDelayedExpansion
23 CD build
\appveyor ||
EXIT /B
24 CALL cl_banner_install.bat ||
EXIT /B
25 CALL cl_setenv.bat ||
EXIT /B
26 CALL cl_showenv.bat ||
EXIT /B
27 MKDIR "%WIN3P%" ||
EXIT /B
29 choco feature enable
-n allowGlobalConfirmation ||
EXIT /B
31 :: Things to install
when NOT running in appveyor
:
32 IF "%APPVEYOR_BUILD_ID%" == "" (
33 cup
-y chocolatey ||
EXIT /B
34 cinst
-y curl ||
EXIT /B
35 cinst
-y
7zip ||
EXIT /B
36 cinst
-y python3 ||
EXIT /B
37 cinst
-y openssl.light ||
EXIT /B
40 cinst
-y jdk8 ||
EXIT /B
41 cinst
-y winflexbison3 ||
EXIT /B
43 :: zlib
- not available through chocolatey
44 CD "%APPVEYOR_SCRIPTS%" ||
EXIT /B
45 call build
-zlib.bat ||
EXIT /B
47 :: libevent
- not available through chocolatey
48 CD "%APPVEYOR_SCRIPTS%" ||
EXIT /B
49 call build
-libevent.bat ||
EXIT /B
51 :: python packages
(correct
path to pip
set in cl_setenv.bat
)
53 install backports.ssl_match_hostname ^
59 cinst
-y ghc ||
EXIT /B
61 :: Adobe Flex SDK
4.6 for ActionScript
62 MKDIR "C:\Adobe\Flex\SDK\4.6" ||
EXIT /B
63 appveyor DownloadFile http
://download.macromedia.com
/pub
/flex
/sdk
/flex_sdk_4.6.zip
-FileName C
:\Adobe\Flex\SDK\
4.6\SDK.zip ||
EXIT /B
64 CD "C:\Adobe\Flex\SDK\4.6" ||
EXIT /B
65 7z x SDK.zip ||
EXIT /B
66 SETX FLEX_HOME
"C:\Adobe\Flex\SDK\4.6"