This is a fork of ClearScript that was made for Decentraland, a Unity game. ClearScript is a library that makes it easy to add scripting to your .NET applications. It currently supports JavaScript (via V8 and JScript) and VBScript.
- Additional unsafe APIs unfit for upstream
- A tool to generate a Unity package, and the package itself
- Only JavaScript is supported
- x86 is not supported
- COM is not supported
- The Linux native library is built with glibc 2.31 (Ubuntu 22.04)
Add this line to your manifest.json:
"org.decentraland.clearscript": "https://github.com/decentraland/ClearScript.git?path=/Unity/Package",After you make a change, you must run the Build Unity package job, commit the Package part of its output, and upload the Symbols part of it to Google Drive to a subfolder named after the commit hash of the squash merge commit to the master branch. TODO: Automate this step away.
If you accidentally have the Decentraland client depend on a commit in a branch that is not the master branch, add that branch to the branch protection rule to ensure it is never deleted or force pushed, else we will have commits in the client's history that cannot be built.
We'd like to thank:
- The Microsoft team.
- The V8 team.
- The Jekyll team.
- Kenneth Reitz for generously providing the
Httpbinservice. - Michael Rose for generously providing the So Simple Jekyll theme.
- Toptal for generously providing the Toptal JavaScript Minifier.