Skip to content

Commit 5681667

Browse files
committed
Add a gitpod.io configuration file (experimental)
* This is useful to edit some part of the codebase on gitpod.io Only show in developer changelog
1 parent d16f04f commit 5681667

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
/Binaries/.embuild*
99
/Binaries/build*
1010
/Binaries/embuild*
11+
/emsdk
1112
*.dll
1213
*.exe
1314
*.a

.gitpod.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This is a configuration file allowing to quickly set up a development environment
2+
# on GitPod (https://www.gitpod.io/).
3+
# Also check GitHub codespaces if you're interested in working
4+
# on a remote development server.
5+
6+
# This works well for:
7+
# - The editor web-app, including the C++ classes.
8+
# This is not yet adapted for:
9+
# - Working on the game engine or extensions, as they can't be easily tested on the web-app.
10+
# - Working on the desktop app (Electron).
11+
12+
tasks:
13+
- name: Install dependencies for Emscripten and build GDevelop.js
14+
init: |
15+
sudo apt-get update
16+
sudo apt install cmake python-is-python3 python3-distutils -y
17+
git clone https://github.com/juj/emsdk.git && cd emsdk && ./emsdk install 1.39.6 && ./emsdk activate 1.39.6 && cd ..
18+
cd GDevelop.js
19+
npm install
20+
source ../emsdk/emsdk_env.sh && npm run build -- --dev
21+
cd ..
22+
- name: Install GDevelop IDE dependencies
23+
init: cd newIDE/app && npm install && cd ../electron-app && npm install
24+
25+

0 commit comments

Comments
 (0)