mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-22 01:30:25 +01:00
24 lines
742 B
Makefile
24 lines
742 B
Makefile
# SPDX-FileCopyrightText: 2024 Leroy Hopson <code@leroy.nix.nz>
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
set dotenv-load
|
|
|
|
godot := `echo "${GODOT:-godot} --rendering-driver ${RENDERING_DRIVER:-vulkan}"`
|
|
|
|
build:
|
|
cd addons/godot_xterm/native && scons
|
|
|
|
install:
|
|
{{godot}} --headless -s plug.gd install
|
|
|
|
test:
|
|
{{godot}} --headless -s addons/gut/gut_cmdln.gd -gtest=res://test/test_terminal.gd,res://test/test_pty.gd -gexit
|
|
|
|
test-rendering:
|
|
{{godot}} --windowed --resolution 400x200 --position 0,0 -s addons/gut/gut_cmdln.gd -gtest=res://test/test_rendering.gd -gopacity=0 -gexit
|
|
|
|
test-unix:
|
|
{{godot}} --headless -s addons/gut/gut_cmdln.gd -gtest=res://test/test_unix.gd -gexit
|
|
|
|
uninstall:
|
|
{{godot}} --headless -s plug.gd uninstall
|