-
Notifications
You must be signed in to change notification settings - Fork 13
2.0 | How to build and run (Windows)
-
Download and install VS Code (https://code.visualstudio.com/Download)
-
Download and install Node.js (https://nodejs.org/en/download)
-
Download and install git (https://git-scm.com/downloads)
-
Download and install the JRE (https://java.com/en/download)
-
Open PowerShell or cmd
-
Clone the repository
git clone https://github.com/racz16/WebGL-GLSL-Editor.git
-
Go inside the repository's root folder
cd WebGL-GLSL-Editor
-
Install dependencies
npm install
-
Generate code
npm run compile-antlr-windows
You have to generate code again, every time you change the AntlrGlslLexer.g4 or the AntlrGlslParser.g4 files.
-
Open the repository's root folder in VS Code
code .
When VS Code opens, it'll suggest you install the recommended extensions. They're all useful, but TypeScript + Webpack Problem Matchers is required, without it, you won't be able to run the extension.
-
Press
F5
, to run the extension.In the Run and Debug tab, you can choose between the desktop and the web version.
By running the run-in-browser script, you can try the web extension in an actual browser.