switch to godot 4 (alpha)
This commit is contained in:
parent
db3848454d
commit
62c5adc267
6 changed files with 68 additions and 57 deletions
22
justfile
22
justfile
|
@ -1,7 +1,21 @@
|
|||
godot_project := "./godot-impl/project.godot"
|
||||
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
|
||||
|
||||
run:
|
||||
nixGL zig build run
|
||||
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
|
||||
|
||||
edit:
|
||||
nixGL godot {{godot_project}}
|
||||
#run:
|
||||
# nixGL zig build run
|
||||
|
||||
edit: setup
|
||||
{{godot_exe}} {{godot_project}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue