Add a Justfile

Can now easily run the build command with `just build` from anywhere in
the repo.
This commit is contained in:
Leroy Hopson 2024-02-06 23:24:48 +13:00
parent 14db14679f
commit f98921dc7e
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
3 changed files with 17 additions and 0 deletions

5
.env.example Normal file
View file

@ -0,0 +1,5 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
# Name or path to your Godot executable
GODOT=godot

3
.gitignore vendored
View file

@ -43,3 +43,6 @@ docs/logs
.directory
.DS_Store
*~
# Other ignores
.env

9
Justfile Normal file
View file

@ -0,0 +1,9 @@
# SPDX-FileCopyrightText: 2024 Leroy Hopson <code@leroy.nix.nz>
# SPDX-License-Identifier: MIT
set dotenv-load
godot := `echo "${GODOT:-godot}"`
build:
cd addons/godot_xterm/native && scons