Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Protobuild.exe
Binary file not shown.
4 changes: 4 additions & 0 deletions Publish/JSILc.definition
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ExternalProject Name="JSILc">
<Tool Name="JSILc" Path="JSIL.Compiler\JSILc.AnyCPU.exe" />
</ExternalProject>
7 changes: 7 additions & 0 deletions Publish/Module.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Module>
<Name>JSIL</Name>
<DefaultAction>resync</DefaultAction>
<DisableSynchronisation>false</DisableSynchronisation>
<GenerateNuGetRepositories>true</GenerateNuGetRepositories>
</Module>
13 changes: 13 additions & 0 deletions Publish/Publish.Windows.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Include Javascript runtime libraries
include ^Libraries/(.*)$
rewrite ^Libraries/(.*)$ JSIL.Compiler/Libraries/$1

# Include JSIL compiler
include ^bin/(.*)$
rewrite ^bin/(.*)$ JSIL.Compiler/$1

# Include module + project
include ^Publish/JSILc\.definition$
rewrite ^Publish/JSILc\.definition$ Build/Projects/JSILc.definition
include ^Publish/Module\.xml$
rewrite ^Publish/Module\.xml$ Build/Module.xml
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
![JSIL logo](http://jsil.org/images/jsil_48px.png) JSIL
====

## **❗❗❗ Protogame has been sunset as of 1st Jan 2018 and is no longer supported or maintained. Please read the announcement for more information: [Sunsetting Protogame](https://medium.com/redpoint/sunsetting-protogame-a18e1f03af43). ❗❗❗**

JSIL is a compiler that transforms .NET applications and libraries from their native executable format - CIL bytecode - into standards-compliant, cross-browser JavaScript. You can take this JavaScript and run it in a web browser or any other modern JavaScript runtime. Unlike other cross-compiler tools targeting JavaScript, JSIL produces readable, easy-to-debug JavaScript that resembles the code a developer might write by hand, while still maintaining the behavior and structure of the original .NET code.

For live demos and code samples, [visit the website](http://jsil.org).
Expand Down
13 changes: 13 additions & 0 deletions automated.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#version 1

if host Windows

native-execute build_windows.bat

pack . Windows.tar.lzma Windows Publish\Publish.Windows.txt

if file-exists C:\Users\build\Documents\protobuild_api_key.txt
push C:\Users\build\Documents\protobuild_api_key.txt $TARGET_PLATFORM.tar.lzma http://protobuild.org/hach-que/JSIL $GIT_COMMIT $TARGET_PLATFORM master --ignore-on-existing
endif

endif
9 changes: 9 additions & 0 deletions build_windows.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
git clean -xdff
git reset --hard HEAD
git submodule update --init --recursive
dir
nuget.exe restore JSIL.sln
cd packages\Npm.3.5.2\node_modules\npm
cmd /C "npm install"
cd ..\..\..\..
"C:\Program Files (x86)\MSBuild\14.0\Bin\amd64\msbuild.exe" "JSIL.sln" /m /verbosity:minimal /P:Platform=NoXNA
Binary file added nuget.exe
Binary file not shown.