Releases: hyperupcall/bake
Releases · hyperupcall/bake
v1.11.2
v1.11.1
Fixes
- Previously, if a 'bake' script from an older release was encountered, then the supplied task would be executed twice. (once with the older 'bake' script, and once with the newer 'bake' script Now, tricks are done to ensure this never happens
v1.11.0
Features
- When printing
<-- DONE ============
or on error (and in a few other cases), Bake prints the total running time of the task if it's greater than 1 second - Do not update local
bake
file when in an interactive Git context (like a rebase or a bisect). Bake now prints a warnning when skipping copying a different version
Fixes
- Configuring
big-print
works again - Improvements to the wording of warnings
v1.10.1
Fixes
- With changes in configuration in
v1.10.0
, there was a bug in defaulting the configuration variables. This has been fixed so in all cases, the proper default is used when one is not specified
v1.10.0
This is a big release 🎉
Breaking Changes
- Moved to the Mozilla Public License 2.0
- Configuring
big-print
is only allowed in comments (in other words,bake.cfg big-print ...
no longer works)- I did this to simplify the code - this option is purely cosmetic, so this "breaking change" won't effect any actual functionality
Features
- Add
bake.has_flag
function. It does exactly what it sounds like - Add a new way to document tasks. Write
# doc: Documentation here
above the task for it to show in the help menu- The older technique is deprecated and will eventually be removed in the
v2.0.0
release
- The older technique is deprecated and will eventually be removed in the
- New top-level
-w
flag for automatic integration with watchexec- Passing it will automatically restart your command on any file change (watchexec handles
.gitignore
,.ignore
, etc. files automatically) - Pass arguments into watchexec with a comment above your task (ex.
# watch: --clear
)
- Passing it will automatically restart your command on any file change (watchexec handles
- Improved way to access Make-esque variables. If a variable was declared like
bake key=value task_name
, it is now available as$var_key
- Old method of
$key
is still available, but will eventually be removed in thev2.0.0
release
- Old method of
v1.9.0
Features
- Allow for comments to set a task description. See example in this Bakefile
- Enable passing
on
andoff
tobake.cfg
function. The traditional enums ofyes
andno
are deprecated
Fixes
- Don't print version multiple times when printing version with
-v
- Better documentation by adding index page
v1.8.2
v1.8.1
Fixes
- Fixes
stty: 'standard input': Inappropriate ioctl for device
when standard input is not a terminal (like in CI) - Properly prints big formatted error string (the "
<- ERROR =======
" part) onSIGINT
v1.8.0
Features
- Add
bake.big-print
config option- When disabled, the full-width prints of
-> RUNNING TASK 'taskName' =========
are no longer printed before and after running the task
- When disabled, the full-width prints of
- Improve documentation (dedicated page for
bake.cfg
options
v1.7.0
Features
- Add
-v
flag to print version
Fixes
- If no tasks are defined, then print "no tasks" when attempting to list the tasks
- Improve documentation
- Document options to
bake.cfg
- Clearer explanations
- Document options to