-
Notifications
You must be signed in to change notification settings - Fork 135
Knowledge Nuggets
This page contains snippets of useful knowledge and tips related to Ballistica development. Feel free to add your own here or upvote existing ones by incrementing the 👍 count next to them (just once per tip please). I will use upvote counts to help organize the tips by usefulness.
Ballistica's main Makefile is set up to list info about its available targets when you simply type make or make help.
However, it can also be handy to set up your shell to allow autocompleting target names. If you are using zsh (the default on Mac as of 10.15 Catalina), you can add this to your .zshrc file to enable it:
autoload -U compinit
compinit
Once you restart your shell, you should be able to type something like make prefab- and hit tab to see a list of all matching targets.
ericf@MacBook-Fro ballistica % make prefab-
prefab-debug prefab-mac-release
prefab-debug-build prefab-mac-release-build
prefab-linux-debug prefab-release
prefab-linux-debug-build prefab-release-build
prefab-linux-release prefab-windows-debug
prefab-linux-release-build prefab-windows-debug-build
prefab-mac-debug prefab-windows-release
prefab-mac-debug-build prefab-windows-release-build
The same functionality should be possible with other shells such as bash, but I will leave that as an exercise for the user (feel free to expand this tip).
👍0
ballistica.net • discord • blog • support