forked from dmpas/oscript-ftp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
executable file
·53 lines (36 loc) · 1.08 KB
/
appveyor.yml
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
version: 1.0.2-{build}
environment:
main_project: oscript-ftp
before_build:
- ps: nuget restore
init:
- ps: Set-WinSystemLocale ru-RU
- ps: Start-Sleep -s 5
- ps: Restart-Computer
install:
- cmd: >-
mkdir engine
cd engine
appveyor DownloadFile http://oscript.io/downloads/latest/exe -FileName os.exe
os.exe /silent
set PATH=%ProgramFiles(x86)%\OneScript\bin;%PATH%
cd ..
appveyor DownloadFile https://github.com/dmpas/OneScriptDocumenter/releases/download/1.0.13/documenter.zip -FileName OneScriptDocumenter.zip
7z x OneScriptDocumenter.zip > NUL
oscript -version
opm install opm
build:
verbosity: minimal
configuration: Release
test_script:
- cmd: nunit3-console --x86 NUnitTests\bin\%CONFIGURATION%\NUnitTests.dll
after_build:
- cmd: >-
del %main_project%\bin\%CONFIGURATION%\*.pdb
mkdir bin
xcopy %main_project%\bin\%CONFIGURATION%\%main_project%.* bin\
OneScriptDocumenter.exe json bin\syntaxHelp.json %main_project%\bin\%CONFIGURATION%\%main_project%.dll
opm build .
artifacts:
- path: .\*.ospx
name: component