diff --git a/Protobuild.exe b/Protobuild.exe new file mode 100644 index 000000000..96a6f46f3 Binary files /dev/null and b/Protobuild.exe differ diff --git a/Publish/JSILc.definition b/Publish/JSILc.definition new file mode 100644 index 000000000..0bbb12716 --- /dev/null +++ b/Publish/JSILc.definition @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Publish/Module.xml b/Publish/Module.xml new file mode 100644 index 000000000..a74f0bde1 --- /dev/null +++ b/Publish/Module.xml @@ -0,0 +1,7 @@ + + + JSIL + resync + false + true + \ No newline at end of file diff --git a/Publish/Publish.Windows.txt b/Publish/Publish.Windows.txt new file mode 100644 index 000000000..be4055ffa --- /dev/null +++ b/Publish/Publish.Windows.txt @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index c28a17f96..b20f01d20 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/automated.build b/automated.build new file mode 100644 index 000000000..f599223ef --- /dev/null +++ b/automated.build @@ -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 \ No newline at end of file diff --git a/build_windows.bat b/build_windows.bat new file mode 100644 index 000000000..d7475ef18 --- /dev/null +++ b/build_windows.bat @@ -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 \ No newline at end of file diff --git a/nuget.exe b/nuget.exe new file mode 100644 index 000000000..6bb79fe53 Binary files /dev/null and b/nuget.exe differ