This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global Bridge */ | |
/** @namespace Demo */ | |
/** | |
* This class performs an important function. | |
* | |
* @public | |
* @class Demo.App | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Demo | |
{ | |
/// <summary> | |
/// This class performs an important function. | |
/// </summary> | |
public class App | |
{ | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"output": "Bridge/output", | |
"outputFormatting": "Minified" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body> | |
<canvas id="canvas" width="320" height="240"></canvas> | |
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Bridge; | |
using Bridge.Html5; | |
using Bridge.WebGL; | |
using System; | |
namespace Demo | |
{ | |
public class App | |
{ | |
public static void Main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mcs /nostdlib \ | |
/warn:0 \ | |
/reference:"build/Bridge.dll;build/Bridge.Html5.dll" \ | |
/out:build/Demo.dll \ | |
/recurse:*.cs | |
mono build/Bridge.Builder.exe -lib build/Demo.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start /wait C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe ^ | |
/nostdlib ^ | |
/warn:0 ^ | |
/reference:build\Bridge.dll;build\Bridge.Html5.dll ^ | |
/out:build\Demo.dll ^ | |
/recurse:*.cs | |
start /b build\Bridge.Builder.exe -lib build\Demo.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.1.0", | |
"command": "build/bridge.sh", | |
"windows": { | |
"command": "build\\bridge.bat" | |
}, | |
"showOutput": "silent" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"output": "Bridge/output" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body> | |
<canvas id="canvas" width="320" height="240"> | |
Your browser doesn’t appear to support the HTML5 <canvas> element. | |
</canvas> | |
</body> |