mirror of https://github.com/winsw/winsw
Issue #170: Enable publishing of samples as AppVeyor artifacts
parent
47716160d9
commit
d28e6f3c60
|
@ -45,6 +45,10 @@ artifacts:
|
||||||
name: WinSW.NET4.exe
|
name: WinSW.NET4.exe
|
||||||
- path: 'WinSW.$(appveyor_build_version).nupkg'
|
- path: 'WinSW.$(appveyor_build_version).nupkg'
|
||||||
name: WinSW.nupkg
|
name: WinSW.nupkg
|
||||||
|
- path: 'examples/sample-allOptions.xml'
|
||||||
|
name: 'sample-allOptions.xml'
|
||||||
|
- path: 'examples/sample-minimal.xml'
|
||||||
|
name: 'sample-minimal.xml'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ namespace winswTests.Configuration
|
||||||
|
|
||||||
private ServiceDescriptor doLoad(string exampleName) {
|
private ServiceDescriptor doLoad(string exampleName) {
|
||||||
var dir = Directory.GetCurrentDirectory();
|
var dir = Directory.GetCurrentDirectory();
|
||||||
string path = dir + "\\..\\..\\..\\..\\..\\examples\\config-" + exampleName + ".xml";
|
string path = dir + "\\..\\..\\..\\..\\..\\examples\\sample-" + exampleName + ".xml";
|
||||||
if (!File.Exists(path))
|
if (!File.Exists(path))
|
||||||
{
|
{
|
||||||
throw new FileNotFoundException("Cannot find the XML file " + path, path);
|
throw new FileNotFoundException("Cannot find the XML file " + path, path);
|
||||||
|
|
|
@ -35,8 +35,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "winsw_dotNET4", "Core\Servi
|
||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{AA414F46-B863-473A-A0E0-C2971B3396AE}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{AA414F46-B863-473A-A0E0-C2971B3396AE}"
|
||||||
ProjectSection(SolutionItems) = preProject
|
ProjectSection(SolutionItems) = preProject
|
||||||
..\examples\config-allOptions.xml = ..\examples\config-allOptions.xml
|
..\examples\sample-allOptions.xml = ..\examples\sample-allOptions.xml
|
||||||
..\examples\config-minimal.xml = ..\examples\config-minimal.xml
|
..\examples\sample-minimal.xml = ..\examples\sample-minimal.xml
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
|
|
Loading…
Reference in New Issue