-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump version to 1.2.1 * Changed chm build to look for hhc.exe in the install directory instead of %PATH%. * chm and gpl.rtf copy is performed by pre-build events now instead of relying on the chm build to do it. * Update .gitignore for VS 2019.
- Loading branch information
Showing
5 changed files
with
41 additions
and
31 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
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
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
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 |
---|---|---|
@@ -1,25 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011"> | ||
<Metadata> | ||
<Identity Id="df158482-14ea-4165-8977-6a57ececffe7" Version="1.2" Language="en-US" Publisher="Kristofel Munson" /> | ||
<DisplayName>Comment Reflower</DisplayName> | ||
<Description>VSIX version of Comment Reflower.</Description> | ||
<MoreInfo>https://github.com/kmunson/CommentReflowerVSIX/</MoreInfo> | ||
<License>gpl.rtf</License> | ||
<Icon>Resources\Package.ico</Icon> | ||
<PreviewImage>Resources\Package.ico</PreviewImage> | ||
</Metadata> | ||
<Installation InstalledByMsi="false"> | ||
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[11.0, 15.0]" /> | ||
</Installation> | ||
<Dependencies> | ||
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" /> | ||
<Dependency Id="Microsoft.VisualStudio.MPF.11.0" DisplayName="Visual Studio MPF 11.0" d:Source="Installed" Version="11.0" /> | ||
</Dependencies> | ||
<Assets> | ||
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" /> | ||
</Assets> | ||
<Prerequisites> | ||
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0.26208.0,16.0)" DisplayName="Visual Studio core editor" /> | ||
</Prerequisites> | ||
<Metadata> | ||
<Identity Id="df158482-14ea-4165-8977-6a57ececffe7" Version="1.2.1" Language="en-US" Publisher="Kristofel Munson" /> | ||
<DisplayName>Comment Reflower</DisplayName> | ||
<Description>VSIX version of Comment Reflower.</Description> | ||
<MoreInfo>https://github.com/kmunson/CommentReflowerVSIX/</MoreInfo> | ||
<License>gpl.rtf</License> | ||
<Icon>Resources\Package.ico</Icon> | ||
<PreviewImage>Resources\Package.ico</PreviewImage> | ||
</Metadata> | ||
<Installation InstalledByMsi="false"> | ||
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[11.0, 17.0)" /> | ||
</Installation> | ||
<Dependencies> | ||
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" /> | ||
</Dependencies> | ||
<Assets> | ||
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" /> | ||
</Assets> | ||
<Prerequisites> | ||
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0,)" DisplayName="Visual Studio core editor" /> | ||
</Prerequisites> | ||
</PackageManifest> |
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 |
---|---|---|
@@ -1,9 +1,12 @@ | ||
copy /Y ..\gpl.rtf ..\CommentReflower | ||
if errorlevel 1 exit /B 1 | ||
rem Check for existence first due to the reversed error output. | ||
if not exist "%ProgramFiles(x86)%\HTML Help Workshop\hhc.exe" ( | ||
echo HTML Help Workshop is not installed. https://www.microsoft.com/en-us/download/details.aspx?id=21138 | ||
exit /B 1 | ||
) | ||
|
||
rem hhc returns 0 on failure and 1 on success | ||
hhc %1.hhp | ||
if not errorlevel 1 exit /B 1 | ||
|
||
copy /Y %1.chm ..\CommentReflower | ||
if errorlevel 1 exit /B 1 | ||
rem hhc returns 0 on failure and 1 on success. | ||
"%ProgramFiles(x86)%\HTML Help Workshop\hhc.exe" %1.hhp | ||
if not errorlevel 1 ( | ||
echo Failed to compile help. | ||
exit /B 1 | ||
) |