Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Checkedrun ¶
checkedrun checks if a program is available in the system's PATH and then runs the specified command. For example:
{
"apt": "sudo apt install libsdl2{,-image,-mixer,-ttf,-gfx}-dev",
"dnf": "sudo dnf install SDL2{,_image,_mixer,_ttf,_gfx}-devel",
"pacman": "sudo pacman -S sdl2{,_image,_mixer,_ttf,_gfx}",
"emerge": "emerge -av libsdl2 sdl2-{image,mixer,ttf,gfx}",
"brew": "brew install sdl2{,_image,_mixer,_ttf,_gfx} pkg-config",
"vcpkg": "vcpkg install --triplet x64-windows sdl2 sdl2-image sdl2-mixer sdl2-ttf sdl2-gfx --recurse",
}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.