-
Notifications
You must be signed in to change notification settings - Fork 2
No brag, just fact.
Dewayne VanHoozer edited this page Jul 6, 2022
·
1 revision
The --no-brag option/flag is intended to support Alternate Uses of justprep
in the role of a generic includer not specifically targeted to a task runner CLI tool.
The normal behavior of justprep
is to comment out the line that has the inclusionary keyword. It also puts a header comment and a footer comment as a wrapper around the included content in the target file pointed to by the system environment variable JUSTPREP_FILENAME_OUT
Here is an example without using --no-brag
$ JUSTPREP_FILENAME_IN=no-brag.just justprep && cat justfile
# .../test/no-brag.just
content line before include
# include $RR/test/no-brag.inc
# >>> /Users/dewayne/Documents/sandbox/git_repos/madbomber/justprep/working/no_brag/test/no-brag.inc
No Brag - Just Fact
# <<< /Users/dewayne/Documents/sandbox/git_repos/madbomber/justprep/working/no_brag/test/no-brag.inc
content line after include
Here is an example using --no-brag
$ JUSTPREP_FILENAME_IN=no-brag.just justprep --no-brag && cat justfile
# .../test/no-brag.just
content line before include
No Brag - Just Fact
content line after include