-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
30 lines (26 loc) · 871 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
src_dir = src/
main_scene = scenes/MainMenu.tscn
run:
cd $(src_dir) && godot $(main_scene)
debug:
cd $(src_dir) && godot --no-window --export-debug linux
release: linux windows web android
cd export && tar -czvf all.tar.gz linux.tar.gz windows.zip web.tar.gz android.tar.gz
linux:
mkdir -p export/linux/
cd $(src_dir) && godot --no-window --export linux
cd export && tar -czvf linux.tar.gz linux/
windows:
mkdir -p export/windows/
cd $(src_dir) && godot --no-window --export windows
cd export && zip -r9 windows.zip windows
web:
mkdir -p export/web/
cd $(src_dir) && godot --no-window --export web
cd export && tar -czvf web.tar.gz web/
cd export/web && zip -r9 web.zip ./*
mv export/web/web.zip export/web.zip
android:
mkdir -p export/android/
cd $(src_dir) && godot --no-window --export-debug android
cd export && tar -czvf android.tar.gz android/