godot-xterm/Justfile
Leroy Hopson db3564f0cc
Setup tests
- Install Gut using gd-plug.
- Add some basic tests.
- Update workflow to run tests.
- Add test and gd-plug install/uninstall recipes to Justfile.
- Re-enable debug builds as these are used by editor when testing.
2024-02-18 14:06:25 +13:00

18 lines
392 B
Makefile

# 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
install:
{{godot}} --headless -s plug.gd install
test:
{{godot}} --headless -s addons/gut/gut_cmdln.gd -gdir=res://test -gexit
uninstall:
{{godot}} --headless -s plug.gd uninstall