-
Notifications
You must be signed in to change notification settings - Fork 35
/
appveyor.doc.yml
37 lines (35 loc) · 1.16 KB
/
appveyor.doc.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
version: 4.0.{build}
image: Visual Studio 2022
configuration: Release
clone_folder: c:\projects\codejam
environment:
SHFBROOT: C:\EWSoftware.SHFB.2021.11.7\tools\
install:
- cmd: >-
nuget install EWSoftware.SHFB -o c:\ -Version 2021.11.7
nuget install EWSoftware.SHFB.NETFramework -o c:\projects\codejam
xcopy /E /S C:\EWSoftware.SHFB.2021.11.7 C:\EWSoftware.SHFB.2015.10.10.0\
before_build:
- cmd: nuget restore CodeJam.sln
build_script:
- msbuild CodeJamDoc.sln /warnaserror /nowarn:NU3005 /t:Restore;Build /p:Configuration=Release /v:m
- git clone https://github.com/rsdn/CodeJam.wiki.git c:\projects\codejam.wiki
- cd c:\projects\codejam.wiki
- git rm media\*.*
- move /Y ..\codejam\Help\media .
- git add media\*.*
- git rm Doc\*.*
- move /Y ..\codejam\Help\LastBuild.log ..\codejam\LastBuild.log
- move /Y ..\codejam\Help Doc
- move Doc\Home.md Doc\DocHome.md
- git add Doc\*.md
# - git commit -m "Update doc"
# - git push CodeJam.wiki
- cd c:\projects\codejam
after_build:
- cmd: 7z a -r CodeJamDoc.zip c:\projects\codejam.wiki\Doc\*.*
artifacts:
- path: CodeJamDoc.zip
name: CodeJamDoc
on_finish:
- ps: Push-AppveyorArtifact C:\projects\codejam\help\LastBuild.log