Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pack DfmHttpService #1167

Merged
merged 3 commits into from Jan 13, 2017
Merged

Pack DfmHttpService #1167

merged 3 commits into from Jan 13, 2017

Conversation

qinezh
Copy link
Contributor

@qinezh qinezh commented Jan 12, 2017

No description provided.

<requireLicenseAcceptance>true</requireLicenseAcceptance>
<licenseUrl>https://github.com/dotnet/docfx/blob/dev/LICENSE</licenseUrl>
<projectUrl>https://github.com/dotnet/docfx</projectUrl>
<description>This is a tool to generate API documentation for .NET projects.</description>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: do wee need to update the description?

src/nuspec/docfx.console/tools/*.dll
src/nuspec/docfx.console/tools/*.exe
src/nuspec/docfx.console/tools/*.exe.config
src/nuspec/docfx.console/tools/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why ignoring everything in tools? install.ps1?

function PackSelfContainProject {
param($sourceFolder, $nuspecPath)
$targetFolder = (Get-Item $nuspecPath).Directory.FullName
$null = New-Item -ItemType Directory -Force -Path "$targetFolder\tools\"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy to a target folder instead of doing it inside src folder $nuspecPath

@@ -60,6 +60,18 @@ function NugetPack {
}
}

function PackSelfContainProject {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PackSelfContainProject [](start = 9, length = 22)

PackSelfContainTool?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Project here is better than Tool

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit confusing with NugetPack... which also pack self contain project


In reply to: 95931418 [](ancestors = 95931418)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...


In reply to: 95931939 [](ancestors = 95931939,95931418)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will refactor later...


In reply to: 95934194 [](ancestors = 95934194,95931939,95931418)

@hellosnow
Copy link
Contributor

:shipit:

1 similar comment
@superyyrrzz
Copy link
Contributor

:shipit:

src/nuspec/docfx.console/tools/*.exe.config
src/nuspec/AzureMarkdownRewriterTool/tools/

PACK/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PACK [](start = 0, length = 4)

reuse naming convention, e.g. DROP, TEMP, obj, ...

@@ -60,6 +60,31 @@ function NugetPack {
}
}

function PackSelfContainProject {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PackSelfContainProject [](start = 9, length = 22)

PackNuspecProject?

Copy-Item -Path "$assemblyFolder\*.exe" -Destination "$targetFolder\tools\" -Force
Copy-Item -Path "$assemblyFolder\*.exe.config" -Destination "$targetFolder\tools\" -Force

& $nuget pack "$targetFolder\$nuspecName" -Version $version -OutputDirectory artifacts\$configuration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$version [](start = 55, length = 8)

param implicitly used?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, $version is a global variable


In reply to: 95950135 [](ancestors = 95950135)

@vicancy
Copy link
Contributor

vicancy commented Jan 13, 2017

function NugetPack {

merge with this one


Refers to: build.ps1:46 in d5e049d. [](commit_id = d5e049d, deletion_comment = False)

@qinezh
Copy link
Contributor Author

qinezh commented Jan 13, 2017

function NugetPack {

Renze will refactor it later...


In reply to: 272381911 [](ancestors = 272381911)


Refers to: build.ps1:46 in d5e049d. [](commit_id = d5e049d, deletion_comment = False)

@qinezh qinezh merged commit 88e0ceb into dotnet:dev Jan 13, 2017
@qinezh qinezh deleted the pack branch January 13, 2017 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants