allow running naked

This commit is contained in:
2023-08-23 11:08:10 +03:00
parent 9c16b1af53
commit bfac4aadc6
2 changed files with 6 additions and 3 deletions

View File

@@ -72,6 +72,9 @@ _subcommand() {
echo foo # NOTE: Bakefile gets sourced when read!
somevar=value
if [ -z "$BAKEFILE" ]; then
echo This part is run if the file is sourced and not run in Bake
fi
```