Releases: aappleby/hancho
Hancho v0.2.0
Lots of accumulated changes. Debugging and tracing is much easier, commands can have multiple sets of input and output files, rules can depend on single output files from other rules instead of all of them, template expansion handles nested configs, template expansion failure is not an error (makes nested configs work better), other stuff I can't remember.
Not backwards-compatible with earlier versions, but transitioning to v020 should be straightforward.
Documentation and tutorials are out of date.
Hancho v0.0.5
Special dir-related fields are now start_dir, root_dir, leaf_dir, work_dir, and build_dir
Hancho files in a submodule can be loaded via load(root="submodule/path", file="build.hancho)
Each Hancho module now gets its own 'config' object extended from its parent module (or global_config). This prevents submodules from accidentally changing global fields that their parent modules use while still allowing sharing of configuration across files.
Mostly code cleanup, expand/flatten refactored again (and hopefully final now), added 'rule_dir'
0.0.3 - Better path handling, Rules return Tasks
A project looking to use Hancho needs more granular control of directories and paths. I've refactored the code so that there are now a number of predefined path variables that Rules can use to assemble "task_dir"/"in_dir"/"out_dir"/"deps_dir" as they like (documentation coming shortly).
Also, calling a Rule now returns a Task object instead of just a filename promise. This should make Rules that ingest Tasks more flexible.
0.0.2
2024-03-07 - Tests should run on Windows now. Added a Windows build example. Promises are now valid as inputs to any template.
2024-03-04 - Cleaned up pylint & formatting issues in hancho.py and test.py. Hancho.py is now over 500 lines if you include whitespace and comments :D.
2024-03-04 - Unrecognized '--key=value' command line flags are now merged into the global config object. This allows you to do things like "hancho.py --build_dir=some/other/dir" which could be annoying otherwise.
Initial alpha release
Hancho works and has sufficient test coverage to support a public alpha release.