chakra-core / ChakraCore

ChakraCore is an open source Javascript engine with a C API.
MIT License
9.06k stars 1.19k forks source link

ChakraCore NuGet: Follow-Up Items #2578

Open dilijev opened 7 years ago

dilijev commented 7 years ago

Follow-up from #85

Possible Work Items

Future Work (maybe split into a new issue)

Related to releases but not NuGet:

/cc (interested ChakraCore maintainers) @digitalinfinity @boingoing @liminzhu /cc (folks from #85) @ormico @matthargett @pre10der89 @resnyanskiy @gulbanana @jimmcslim @Oceanswave

Oceanswave commented 6 years ago

As it was desirable for me to have the ChakraCore libs on NuGet, I published some packages here:

Platform Independent (Targets Win-x64, no Arm builds) https://www.nuget.org/packages/BaristaLabs.BaristaCore.ChakraCore/

Win-x86 https://www.nuget.org/packages/BaristaLabs.BaristaCore.ChakraCore.win-x86/

Win-x64 https://www.nuget.org/packages/BaristaLabs.BaristaCore.ChakraCore.win-x64/

Win-arm https://www.nuget.org/packages/BaristaLabs.BaristaCore.ChakraCore.win-arm/

macOS-x64 https://www.nuget.org/packages/BaristaLabs.BaristaCore.ChakraCore.osx-x64/

linux-x64 https://www.nuget.org/packages/BaristaLabs.BaristaCore.ChakraCore.linux-x64/

Source/Scripts: https://github.com/BaristaLabs/BaristaCore-ChakraCore

Builds are directly from the ChakraCore releases -- library naming aligns what a .Net Core app can pick up in a x-plat manner via a DllImport attribute with a minimum of hassle. YMMV.

dilijev commented 6 years ago

@Oceanswave we already have our releases on NuGet (though not Linux and OSX binaries since we did not initially see value in providing those binaries for platforms that generally do not use NuGet). https://github.com/Microsoft/ChakraCore/wiki/NuGet-Packages

Edit: I see the future work references Linux and OSX binaries. Thanks for taking the initiative on that. We're happy to try to improve our NuGet offerings.

@sethbrenith @MSLaguana we could use this as a starting point if we wanted to publish xplat binaries this way, assuming the infrastructure for NuGet publication can handle multiple platforms.

jtaylor100 commented 6 years ago

I am currently building a product written in a windows environment and deployed to linux docker containers. Having the latest linux binaries distributed through Microsoft.ChakraCore would greatly simplify our build process.

schmitch commented 5 years ago

Actually for .net core OSX and Linux NuGet packages would be really helpful, think about production SSR where you only build a .net application and you can have SSR within .net core with chakra instead of installing nodejs.