Note that this branch starts from the no-build-bat (another pull request) because that was a necessary dependency. The only actual change on this branch is the addition of WootzJs.Compiler.nuspec. This allows us to compile the WootzJs compiler and publish it straight to NuGet. I didn't do the other bits because I was only using the compiler and I didn't have an easy way to test the rest.
I haven't pushed the WootzJs.Compiler to a public nuget, but if we were to do that, now people could just run nuget install WootzJs.Compiler from their command line and they'll have the compiler. This means they don't have to have the source code at all, which we didn't want to do for our continuous integration. Here are some snippets from our csproj, notice how they all reference "..\packages\WootzJs.Compiler.x.x.x":
Note that this branch starts from the no-build-bat (another pull request) because that was a necessary dependency. The only actual change on this branch is the addition of WootzJs.Compiler.nuspec. This allows us to compile the WootzJs compiler and publish it straight to NuGet. I didn't do the other bits because I was only using the compiler and I didn't have an easy way to test the rest.
I haven't pushed the WootzJs.Compiler to a public nuget, but if we were to do that, now people could just run
nuget install WootzJs.Compiler
from their command line and they'll have the compiler. This means they don't have to have the source code at all, which we didn't want to do for our continuous integration. Here are some snippets from our csproj, notice how they all reference "..\packages\WootzJs.Compiler.x.x.x":You can see we output mscorlib.js from our csproj because we want to make a complete build output with all the required JavaScript.