diff --git a/samples/readme.samples.md b/samples/readme.samples.md index 6092fbb4..a9515ed5 100644 --- a/samples/readme.samples.md +++ b/samples/readme.samples.md @@ -4,20 +4,4 @@ require: $(this-folder)/../readme.md output-folder: $(this-folder)/$(title)/$(title) clear-output-folder: false -``` - -``` yaml $(include-csproj) != 'disable' -pipeline: - csharpproj: - input: modelerfour/identity - csharpproj/emitter: - input: csharpproj - scope: output-scope -``` - -``` yaml $(dotnet-build) != 'disable' -pipeline: - csharpgen/emitter/command: - input: csharpgen/emitter - run: dotnet build $(title).csproj --verbosity quiet /nologo ``` \ No newline at end of file diff --git a/src/AutoRest.CSharp.V3/readme.md b/src/AutoRest.CSharp.V3/readme.md index 025da32f..217ac226 100644 --- a/src/AutoRest.CSharp.V3/readme.md +++ b/src/AutoRest.CSharp.V3/readme.md @@ -15,4 +15,29 @@ pipeline: scope: output-scope output-scope: output-artifact: source-file-csharp +``` + +``` yaml $(include-csproj) != 'disable' +pipeline: + csharpproj: + input: modelerfour/identity + csharpproj/emitter: + input: csharpproj + scope: output-scope +``` + +``` yaml $(dotnet-build) != 'disable' && $(include-csproj) == 'disable' +pipeline: + csharpgen/emitter/command: + input: csharpgen/emitter + run: dotnet build $(title).csproj --verbosity quiet /nologo +``` + +``` yaml $(dotnet-build) != 'disable' && $(include-csproj) != 'disable' +pipeline: + csharpproj/emitter/command: + input: + - csharpgen/emitter + - csharpproj/emitter + run: dotnet build $(title).csproj --verbosity quiet /nologo ``` \ No newline at end of file diff --git a/test/TestProjects/readme.md b/test/TestProjects/readme.md index 870d32b0..43797ca6 100644 --- a/test/TestProjects/readme.md +++ b/test/TestProjects/readme.md @@ -5,18 +5,4 @@ require: $(this-folder)/../../readme.md output-folder: $(this-folder)/$(title) clear-output-folder: false client-accessibility: internal -``` - -``` yaml -pipeline: - csharpproj: - input: modelerfour/identity - csharpproj/emitter: - input: csharpproj - scope: output-scope - csharpproj/emitter/command: - input: - - csharpgen/emitter - - csharpproj/emitter - run: dotnet build $(title).csproj --verbosity quiet /nologo ``` \ No newline at end of file diff --git a/test/TestServerProjects/readme.tests.md b/test/TestServerProjects/readme.tests.md index 70c66264..2c14b57e 100644 --- a/test/TestServerProjects/readme.tests.md +++ b/test/TestServerProjects/readme.tests.md @@ -4,18 +4,4 @@ require: $(this-folder)/../../readme.md output-folder: $(this-folder)/$(title) clear-output-folder: true -``` - -``` yaml -pipeline: - csharpproj: - input: modelerfour/identity - csharpproj/emitter: - input: csharpproj - scope: output-scope - csharpproj/emitter/command: - input: - - csharpgen/emitter - - csharpproj/emitter - run: dotnet build $(title).csproj --verbosity quiet /nologo ``` \ No newline at end of file