Sources specified module from vendors dir.
import:source "github.com/reconquest/tests.sh"
- $1 (string): Module name to import.
- ? Whatever sourced module outputs.
- ? Whatever sourced module returns.
Returns used IMPORTPATH.
IMPORTPATH is used for looking for vendors while importing.
- Paths, separated by colon (:).
Function has no arguments.
Appends given argument to the IMPORTPATH.
All further imports will look for vendors in the specified directories.
- $1 (string): Path to append.
Prepends given argument to the IMPORTPATH.
All further imports will look for vendors in the specified directories.
- $1 (string): Path to prepend.
Sources relative script file.
import:include options.sh
- $1 (string): Script name to source.
- ? Whatever sourced script outputs.
- ? Whatever sourced script returns.