bake/README

36 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-10-09 22:19:53 -04:00
Baked, embed scripts into files.
2023-09-27 01:28:54 -04:00
2023-10-09 22:19:53 -04:00
Executes @EXEC to the end of the line or STOP@ within in any given file.
2023-09-27 01:28:54 -04:00
2023-09-27 01:46:28 -04:00
you may see a real example in the primary and only source file: `baked.c'.
this is not targeted toward any language and should be fairly flexible,
especially when multi-line comments are available.
2023-09-27 01:28:54 -04:00
2023-09-28 02:20:48 -04:00
Buildng
2023-09-27 01:59:13 -04:00
Initial building may be done by examining and running `install.sh',
if you don't want to install it right away, run `SUDO= TARGET=. ./install.sh'
2023-09-28 02:20:48 -04:00
Name/Arg extension
2023-09-27 01:28:54 -04:00
$@: the name of the executed file
$*: the text of the filename before the last dot
2023-10-09 22:19:53 -04:00
$+: the remaining arguments to Baked
2023-09-27 01:28:54 -04:00
2023-09-28 02:20:48 -04:00
Options extension
only one option may be in use at a time, and must come as the first argument.
2023-10-09 22:19:53 -04:00
-h, --help: displays help message, similiarly to empty input.
-n, --dry-run: DRYRUN, does NOT run anything!
2023-09-28 02:20:48 -04:00
Notes
2023-10-09 22:19:53 -04:00
Baked was inspired by the Bash-based Shake utility (formerly eMake,
he liked my suggestion for a name), written by an anon, which you may
view at: <http://bis64wqhh3louusbd45iyj76kmn4rzw5ysawyan5bkxwyzihj67c5lid.onion/anon/shake>
2023-09-27 01:28:54 -04:00
Baked is licensed under the GPLv3, See LICENSE.
Baked began on September 13th, 2023.