From f98921dc7e2758e48d6a6f15cff1c4adba08d40a Mon Sep 17 00:00:00 2001 From: Leroy Hopson Date: Tue, 6 Feb 2024 23:24:48 +1300 Subject: [PATCH] Add a Justfile Can now easily run the build command with `just build` from anywhere in the repo. --- .env.example | 5 +++++ .gitignore | 3 +++ Justfile | 9 +++++++++ 3 files changed, 17 insertions(+) create mode 100644 .env.example create mode 100644 Justfile diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..ade8659 --- /dev/null +++ b/.env.example @@ -0,0 +1,5 @@ +# SPDX-FileCopyrightText: none +# SPDX-License-Identifier: CC0-1.0 + +# Name or path to your Godot executable +GODOT=godot diff --git a/.gitignore b/.gitignore index 7652045..8ac6488 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,6 @@ docs/logs .directory .DS_Store *~ + +# Other ignores +.env diff --git a/Justfile b/Justfile new file mode 100644 index 0000000..41ed941 --- /dev/null +++ b/Justfile @@ -0,0 +1,9 @@ +# SPDX-FileCopyrightText: 2024 Leroy Hopson +# SPDX-License-Identifier: MIT + +set dotenv-load + +godot := `echo "${GODOT:-godot}"` + +build: + cd addons/godot_xterm/native && scons