Skip to content

Releases: aappleby/hancho

Hancho v0.2.0

07 Oct 02:00
Compare
Choose a tag to compare

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

19 Mar 08:05
9ea461e
Compare
Choose a tag to compare

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'

13 Mar 09:32
34d8a0a
Compare
Choose a tag to compare

0.0.3 - Better path handling, Rules return Tasks

12 Mar 09:09
Compare
Choose a tag to compare

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

09 Mar 01:20
Compare
Choose a tag to compare

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

03 Mar 10:59
Compare
Choose a tag to compare
Initial alpha release Pre-release
Pre-release

Hancho works and has sufficient test coverage to support a public alpha release.