Skip to content

unintelligible/SaltarelleCompiler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saltarelle C# to JavaScript Compiler

Project web site: http://www.saltarelle-compiler.com

License

The entire project is licensed under the Apache License 2.0, which is a permissive license, so there is no issue using the software in any kind of application, commercial or non-commercial. The reason for this license is that it is the one used in the runtime library (which is licensed by Nikhil Kothari, not me).

Building the Compiler

To build the compiler and all libraries, open PowerShell, go to the build directory and type .\psake.ps1. This will generate all outputs in the bin\ directory, of which the .nupkg files are the real artifacts. After running the build script once, you can build both the compiler and the runtime library directly from Visual Studio, but you can't build either from VS until you have run the build script once. Invoking the default task will create auto-incrementing version numbers. By default it will require .net 4.5, but to build on 4.0 you can write .\psake.ps1 -properties @{noAsync=$true}, which will cause some tests that depend on async support not to be run. The production output is not affected, it is just that some tests will not be run. This corresponds to tne _NoAsync targets in the Runtime solution.

Obtaining binaries

All packages can be installed through NuGet, as well as downloaded from teamcity.codebetter.com.

Contributing

Any contribution is very welcome. You can contribute by reporting an issue, by creating an import library for your favorite JavaScript library, by implementing one of the features on the unsupported list, or by just using the software.

This project uses the git-flow branching model. This means that all work on future versions should be performed on separate branches forked off of the develop branch. Each commit on the master branch must be tagged with a tag with a name like 'release-version', and will be automatically pushed to NuGet.org.

Packages

No packages published

Languages

  • C# 74.2%
  • JavaScript 23.9%
  • Other 1.9%