Skip to content

Commit 766def8

Browse files
committed
fix copy
1 parent 3c60cba commit 766def8

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/cs/Bootsharp/Build/Bootsharp.targets

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@
9595
<BsGlobalization>$([System.String]::Equals('$(InvariantGlobalization)', 'false'))</BsGlobalization>
9696
</PropertyGroup>
9797

98-
<!-- Copy bootsharp source files to the build directory. -->
98+
<!-- Drop stale generated files left from previous builds. -->
99+
<RemoveDir Directories="$(BsBuildDir)/generated"/>
100+
101+
<!-- Copy Bootsharp internal sources to the build directory. -->
99102
<ItemGroup>
100103
<BsSourceFiles Include="$(BsSourceDir)/**/*.*"/>
101104
</ItemGroup>
@@ -112,9 +115,6 @@
112115
<Warning Condition="!$(BsDebug) And '$(BsBinaryenExitCode)' != '' And '$(BsBinaryenExitCode)' != '0'"
113116
Text="Failed to run Binaryen optimization. Ensure Binaryen (https://github.com/WebAssembly/binaryen) is installed and 'wasm-opt' is in the system path, otherwise the build is not fully optimized."/>
114117

115-
<!-- Drop stale generated files left from previous builds. -->
116-
<RemoveDir Directories="$(BsBuildDir)/generated"/>
117-
118118
<!-- Generate JavaScript sources and type declarations. -->
119119
<GenerateJS BuildDirectory="$(BsBuildDir)"
120120
DebugDirectory="$(PublishDir)"

src/cs/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4-
<Version>0.8.0-alpha.304</Version>
4+
<Version>0.8.0-alpha.305</Version>
55
<Authors>Elringus</Authors>
66
<PackageTags>javascript typescript ts js wasm node deno bun interop codegen</PackageTags>
77
<PackageProjectUrl>https://bootsharp.com</PackageProjectUrl>

0 commit comments

Comments
 (0)