Skip to content

Commit

Permalink
ExcelDnaPack NuGet package v0.34.6
Browse files Browse the repository at this point in the history
  • Loading branch information
augustoproiete committed Jan 17, 2021
1 parent 3b32e77 commit 7dff3bf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
12 changes: 7 additions & 5 deletions README.md
Expand Up @@ -31,9 +31,11 @@ ExcelDnaPack is a command-line utility to pack ExcelDna add-ins into a single .x
```
Usage: ExcelDnaPack.exe dnaPath [/O outputPath] [/Y]
dnaPath The path to the primary .dna file for the ExcelDna add-in.
/Y If the output .xll exists, overwrite without prompting.
/O outPath Output path - default is <dnaPath>-packed.xll.
dnaPath The path to the primary .dna file for the ExcelDna add-in.
/Y If the output .xll exists, overwrite without prompting.
/NoCompression no compress (LZMA) of resources
/NoMultiThreading no multi threading to ensure deterministic packing order
/O outPath Output path - default is <dnaPath>-packed.xll.
Example: ExcelDnaPack.exe MyAddins\FirstAddin.dna
The packed add-in file will be created as MyAddins\FirstAddin-packed.xll.
Expand All @@ -57,7 +59,7 @@ Reference the [`ExcelDnaPack`](https://www.nuget.org/packages/ExcelDnaPack/) NuG
e.g.:

```csharp
#tool "nuget:?package=ExcelDnaPack&version=0.33.9"
#tool "nuget:?package=ExcelDnaPack&version=0.34.6"

var excelDnaPackExePath = Context.Tools.Resolve("ExcelDnaPack.exe");

Expand Down Expand Up @@ -90,4 +92,4 @@ _Copyright &copy; 2021 Excel-DNA Contributors - Provided under the [Apache Licen

---

_The ExcelDnaPack tool is Copyright &copy; 2005-2015 Govert van Drimmelen - Provided under the [zLib license](https://opensource.org/licenses/Zlib). See file LICENSE.txt included in the NuGet package._
_The ExcelDnaPack tool is Copyright &copy; 2005-2017 Govert van Drimmelen - Provided under the [zLib license](https://opensource.org/licenses/Zlib). See file LICENSE.txt included in the NuGet package._
5 changes: 3 additions & 2 deletions build.cake
Expand Up @@ -7,8 +7,8 @@ var target = Argument<string>("target", "pack");
var buildVersion = MinVer(s => s.WithTagPrefix("v").WithDefaultPreReleasePhase("preview"));

var excelDnaPackageId = "ExcelDna.AddIn";
var excelDnaPackageVersion = "0.33.9";
var excelDnaCopyrightYear = 2015;
var excelDnaPackageVersion = "0.34.6";
var excelDnaCopyrightYear = 2017;

var excelDnaPackageDirectoryPath = MakeAbsolute(new DirectoryPath($"./build/source/{excelDnaPackageId}.{excelDnaPackageVersion}"));
var excelDnaPackageFilePath = excelDnaPackageDirectoryPath.CombineWithFilePath($"{excelDnaPackageId}.{excelDnaPackageVersion}.nupkg");
Expand Down Expand Up @@ -51,6 +51,7 @@ Task("expand-nupkg")
{
{ "ExcelDna.Integration.dll" },
{ "ExcelDnaPack.exe" },
{ "ExcelDnaPack.exe.config" },
};
using (var stream = System.IO.File.OpenRead(excelDnaPackageFilePath.FullPath))
Expand Down
1 change: 1 addition & 0 deletions src/ExcelDnaPack.nuspec
Expand Up @@ -39,6 +39,7 @@
</metadata>
<files>
<file src=".\tools\ExcelDnaPack.exe" target="tools\" />
<file src=".\tools\ExcelDnaPack.exe.config" target="tools\" />
<file src=".\tools\ExcelDna.Integration.dll" target="tools\" />
<file src="..\..\..\asset\exceldnapack-nuget.png" target="images\icon.png" />
</files>
Expand Down

0 comments on commit 7dff3bf

Please sign in to comment.