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

include all the wasmtime runtime libs in the package more ergonomically #17

Conversation

baronfel
Copy link
Contributor

@baronfel baronfel commented Aug 1, 2024

Package layout after this change:

image

@baronfel baronfel force-pushed the dev/janpro/package_and_template branch from e1866c8 to d799db0 Compare August 1, 2024 20:23
@@ -66,9 +52,15 @@
FinalOutputPath="$(ProjectDepsFilePath)" />
</ItemGroup>
</Target>

<Target Name="IncludeWasmLibs" BeforeTargets="_GetPackageFiles">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is kind of dirty, but we get no other hook since we don't have a per-RID inclusion hook for package, and there's no central package files hook yet either.

Copy link
Collaborator

@rainersigwald rainersigwald left a comment

Choose a reason for hiding this comment

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

Yeah still a bit ugly but this makes sense to me. Thinking abstractly of how we'd have to do it for transitive dependencies and getting pretty sad.

@JanProvaznik JanProvaznik merged commit b54a580 into JanProvaznik:dev/janpro/package_and_template Aug 2, 2024
@JanProvaznik
Copy link
Owner

JanProvaznik commented Aug 2, 2024

Thanks, but I will have to look into it more. I reverted it because it causes that the users of MSBuildWasm also need to include the Wasmtime package in .proj file, which is undesirable.

JanProvaznik added a commit that referenced this pull request Aug 5, 2024
* package and add template project based on package
* fix ci
* fix solution file

* reference locla msbuild dlls, not package

* pin msbuild version in ci

* use package in tests

* pin msbuild submodule
remove lock files
add logo and readme to package

* add license

* add TODOs to consider

* include all the wasmtime runtime libs in the package more ergonomically (#17)

* Revert "include all the wasmtime runtime libs in the package more ergonomical…" (#18)

This reverts commit b54a580.

* Update licensing
fix UsingTask check to avoid restore issues

* improve packaging

* better packaging of native dependencies

* include all the wasmtime runtime libs in the package more ergonomically

---------

Co-authored-by: Jan Provazník <[email protected]>

* make template package
---------

Co-authored-by: YuliiaKovalova <[email protected]>
Co-authored-by: Chet Husk <[email protected]>
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.

3 participants