2022-05-06 17:38:06 +02:00
|
|
|
godot_project := "./godot-impl/project.godot"
|
2022-05-19 14:23:51 +02:00
|
|
|
godot_url := "https://downloads.tuxfamily.org/godotengine/4.0/alpha8/Godot_v4.0-alpha8_linux.64.zip"
|
|
|
|
godot_exe := "Godot_v4.0-alpha8_linux.64"
|
|
|
|
godot_exe_dir := "~/bin"
|
|
|
|
godot_path := godot_exe_dir + "/" + godot_exe
|
2022-05-06 17:38:06 +02:00
|
|
|
|
2022-05-19 14:23:51 +02:00
|
|
|
setup:
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
if [ ! -e {{godot_path}} ]; then
|
|
|
|
curl {{godot_url}} -O
|
|
|
|
unzip Godot*.zip
|
|
|
|
mv {{godot_exe}} {{godot_exe_dir}}
|
|
|
|
rm Godot*.zip
|
|
|
|
fi
|
2022-05-06 17:38:06 +02:00
|
|
|
|
2022-05-19 14:23:51 +02:00
|
|
|
#run:
|
|
|
|
# nixGL zig build run
|
|
|
|
|
|
|
|
edit: setup
|
|
|
|
{{godot_exe}} {{godot_project}}
|