initial commit
This commit is contained in:
commit
cd1cc3d91e
8 changed files with 121 additions and 0 deletions
25
justfile
Normal file
25
justfile
Normal file
|
@ -0,0 +1,25 @@
|
|||
godot_project := "./project.godot"
|
||||
godot_url := "https://downloads.tuxfamily.org/godotengine/4.0/alpha15/Godot_v4.0-alpha15_linux.x86_64.zip"
|
||||
godot_exe := "Godot_v4.0-alpha15_linux.x86_64"
|
||||
godot_exe_dir := "~/bin"
|
||||
godot_path := godot_exe_dir + "/" + godot_exe
|
||||
|
||||
setup:
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
if [ ! -e {{godot_path}} ]; then
|
||||
curl {{godot_url}} -O
|
||||
unzip Godot*.zip
|
||||
mkdir -p {{godot_exe_dir}}
|
||||
mv {{godot_exe}} {{godot_exe_dir}}
|
||||
rm Godot*.zip
|
||||
fi
|
||||
|
||||
#run:
|
||||
# nixGL zig build run
|
||||
|
||||
godot: setup
|
||||
{{godot_exe}}
|
||||
|
||||
edit: setup
|
||||
{{godot_exe}} {{godot_project}}
|
Loading…
Add table
Add a link
Reference in a new issue