Skip to content

Commit 6d7fb3d

Browse files
committed
Fixed relative dir path
1 parent 83d8fc7 commit 6d7fb3d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

build/Lottie-Windows-Uwp.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
</metadata>
3838

3939
<files>
40-
<file src="bin\pack\lib\**" target="lib" />
40+
<file src="pack\lib\**" target="lib" />
4141
</files>
4242
</package>

build/build.cake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,10 @@ Task("Package")
244244
// Invoke the pack target to generate the code to be packed.
245245
MSBuildSolution("Pack", ("GenerateLibraryLayout", "true"), ("PackageOutputPath", nupkgDir));
246246

247-
var stage = Directory("./pack");
247+
var stage = Directory($"{buildDir}/pack/lib");
248248

249-
var net9Dir = stage + Directory("lib") + Directory("net9.0-windows10.0.26100.0");
250-
var uapDir = stage + Directory("lib") + Directory("uap10.0.16299");
249+
var net9Dir = stage + Directory("net9.0-windows10.0.26100.0");
250+
var uapDir = stage + Directory("uap10.0.16299");
251251

252252
// clean & recreate
253253
CleanDirectory(stage);
@@ -256,7 +256,7 @@ Task("Package")
256256

257257
// copy the Release builds
258258
CopyFiles($"{baseDir}/Lottie-Windows/Lottie-Windows-UwpNet/bin/{configuration}/net9.0-windows10.0.26100.0/*", net9Dir);
259-
CopyFiles($"{baseDir}/Lottie-Windows/Lottie-Windows-Uwp/bin/{configuration}/uap10.0.16299/*", uapDir);
259+
CopyFiles($"{baseDir}/Lottie-Windows/Lottie-Windows-Uwp/bin/{configuration}/uap10.0.16299/*", uapDir);
260260

261261
foreach (var nuspec in GetFiles("./*.nuspec"))
262262
{

0 commit comments

Comments
 (0)