Skip to content

Sourcing

eiedouno edited this page Jun 21, 2026 · 3 revisions

Sourcing a file

Sourcing is how you run commands from another file, and in shuttle, it is the entire point of the build system.

Sourcing is done like so:

source [file]

ex. source ./lib/texts/usage.bash

You must source files relative to the project root. (eg. ./lib/texts/usage.bash instead of /home/user/project/lib/texts/usage.bash)

For you technical users, no you cannot source files using the . command. (eg. . ./lib/texts/usage.bash instead of source ./lib/texts/usage.bash)

Clone this wiki locally