-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -254,3 +254,4 @@ paket-files/ | |
# JetBrains Rider | ||
.idea/ | ||
*.sln.iml | ||
_site/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
version: '1.0.{build}' | ||
configuration: | ||
- Release | ||
platform: Any CPU | ||
notifications: | ||
- provider: Slack | ||
auth_token: | ||
secure: Q+xg4/yU5OR9BVF14cw4yZ+3qlhMeYDsAhUQyOIszmF1mHvq44tIvQpWByBJCd/cgUIZk3SwBpk4hh1MrkQIk6rnaOZ2LNBTev4zrq36oXk= | ||
channel: '#general' | ||
environment: | ||
# Don't report back to the mothership | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
COVERALLS_REPO_TOKEN: | ||
secure: dVpAqavd3jP7LMW+oswLBPfihwiGDZUtWDQWJadMO1Gj61SYegxNsGTZOT2BYN6+ | ||
op_build_user: "Geo Perez" | ||
op_build_user_email: "[email protected]" | ||
access_token: | ||
secure: HzWdswNyfQbQ0vLk9IQyO+Ei9mxoPYp9rvv6HPhtC9J/Fm7EHRzyV953pbPRXI9I | ||
init: | ||
- ps: $Env:LABEL = "CI" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0") | ||
before_build: | ||
- ps: | | ||
if(-Not $env:APPVEYOR_PULL_REQUEST_TITLE) | ||
{ | ||
git checkout $env:APPVEYOR_REPO_BRANCH -q | ||
cinst docfx -y | ||
} | ||
- ps: Start-FileDownload 'http://ffmpeg.zeranoe.com/builds/win32/shared/ffmpeg-3.0.1-win32-shared.7z' | ||
- 7z e ffmpeg-3.0.1-win32-shared.7z | ||
- xcopy *.dll Unosquare.FFmpegMediaElement\ffmpeg32 | ||
- xcopy *.exe Unosquare.FFmpegMediaElement\ffmpeg32 | ||
after_build: | ||
- ps: | | ||
if(-Not $env:APPVEYOR_PULL_REQUEST_TITLE) | ||
{ | ||
docfx docfx.json | ||
git config --global credential.helper store | ||
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):[email protected]`n" | ||
git config --global core.autocrlf false | ||
git config --global user.email $env:op_build_user_email | ||
git config --global user.name $env:op_build_user | ||
git clone https://github.com/unosquare/ffmediaelement.git -b gh-pages origin_site -q | ||
Copy-Item origin_site/.git _site -recurse | ||
CD _site | ||
Copy-Item README.html index.html -force | ||
git add -A 2>&1 | ||
git commit -m "Documentation update" -q | ||
git push origin gh-pages -q | ||
CD .. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"metadata": [ | ||
{ | ||
"src": [ | ||
{ | ||
"files": [ | ||
"Unosquare.FFmpegMediaElement/**/*.cs" | ||
], | ||
"exclude": [ | ||
"**/bin/**", | ||
"**/obj/**", | ||
"**/NAudio/**", | ||
"**/FFmpeg.Autogen/**" | ||
] | ||
} | ||
], | ||
"dest": "obj/api" | ||
} | ||
], | ||
"build": { | ||
"content": [ | ||
{ | ||
"files": [ | ||
"**/*.yml" | ||
], | ||
"cwd": "obj/api", | ||
"dest": "api" | ||
}, | ||
{ | ||
"files": [ | ||
"*.md", | ||
"toc.yml" | ||
] | ||
} | ||
], | ||
"globalMetadata": { | ||
"_appTitle": "WPF MediaElement replacement based on FFmpeg", | ||
"_enableSearch": true | ||
}, | ||
"dest": "_site" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- name: API Documentation | ||
href: obj/api/ |