Add a build and run Windows batch script in /scripts folder (#611)

This commit is contained in:
Todor Imreorov
2018-09-04 19:48:43 +01:00
committed by Florian Rival
parent a95a6eb128
commit e9bf8ff309
2 changed files with 30 additions and 0 deletions

View File

@@ -47,6 +47,13 @@ node node_modules\electron\cli.js app
./node_modules/electron/dist/electron app
```
### Quick Install and Run
There is a script file that automates cloning this repository, building the newIde and running it
* For Windows: You can download the batch script [here](https://raw.githubusercontent.com/4ian/GD/master/scripts/gitCloneAndBuildGD.bat) and save it to where you want GD to be cloned to, then simply run it.
### Development of UI components
You can run a [storybook](https://github.com/storybooks/storybook) that is used as a playground for rapid UI component development and testing:

View File

@@ -0,0 +1,23 @@
@echo off
REM ===============================================================
REM This Windows batch script downloads Gdevelop from the master branch, builds the newIde and launches it.
REM
REM It still requires git, nodejs and electron to be installed.
REM If Gdevelop is already built, the script will simply launch it.
REM ===============================================================
echo This will clone, install, and launch GDevelop development version. Please make sure you have git and Node.js installed.
SET fork=4ian
call git clone https://github.com/%fork%/GD.git
cd GD/newIDE/app
call npm install
cd ../electron-app
call npm install
cd ../app
start cmd /k npm start
cd ../electron-app
TIMEOUT /T 40
call node node_modules\electron\cli.js app