| Crates.io | invil |
| lib.rs | invil |
| version | 0.2.27 |
| created_at | 2023-11-28 05:51:42.210473+00 |
| updated_at | 2025-08-26 10:42:11.147911+00 |
| description | A port of amboso to Rust |
| homepage | https://github.com/jgabaut/invil |
| repository | https://github.com/jgabaut/invil |
| max_upload_size | |
| id | 1051624 |
| size | 351,849 |
This is a Rust port of amboso, a basic build tool wrapping make and supporting git tags.
Invil can be used to:
invil build.invil init <DIR>It's (*) on par with the original implementation, as of amboso 2.0.11.
Check the next section for more support info.
Check this section for info about extensions to amboso 2.0.4.
At the moment, only C projects are supported.
- Check this section for info about the WIP python support.
- The README still mostly refers only to the ambosoC kern usage.
Different build modes are provided internally, depending on how full your autotool build support is:
gcc call. This may be expanded in a future version, to at least provide support for passing arguments to the compiler.invil will expect a ready Makefile that correctly builds the target binary when make is called.invil will expect a Makefile.am and a configure.ac, so that a Makefile with the same assumptions as Make mode can be generated.For more information on the stego.lock file, see the amboso info about it.
For more information on the anvil tool, see the amboso wiki. Work in progress.
Basic arguments parsing that complies with the bash implementation
Same default for amboso directory (./bin).
Parse stego.lock with compatible logic to bash implementation
Base mode: full support
Git mode: full support
Makefile in repo root.C header gen: complete support (*)
Test mode: complete support (*)
-b
$.Passing configure arguments: complete support
Subcommands:
Note:
0.1.6, by default make rebuild is called on build operation. This is the expected behaviour of amboso 2.x. To revert to 1.x original behaviour and call just make, run with -R or --no-rebuild.Flags support status:
Basic env flags: -D, -K, -M, -S, -E
Clock flag: -Y <startTime>
Linter mode: -x
-l-L C header gen mode: -G (detailed info is empty)
Verbose flag: -V
Test macro: -t
Test mode: -T
Git mode: -g
Base mode: -B
Build: -b
Run: -r
Init: -i
Delete: -d
Purge: -p
Help: -h
Big Help: -H
Version: -v
List tags for current mode: -l
List tags for git/base mode: -L
Quiet flag: -q
Watch flag: -w
Warranty flag: -W
Ignore gitcheck flag: -X
Silent: -s
Pass config argument: -C
Run make pack: -z
No rebuild: -R
Logged run: -J
./anvil.log. Not backwards compatible with repos not ignoring the file explicitly. No color: -P
Force build: -F
Turn off extensions: -e (Only relative to 2.0.0)
Pass CFLAGS to single file build mode: -Z
Run make when no arguments are provided
make build mode, call make rebuild by default
--no-rebuild to disable make rebuild and run just make--logged to output full log to file
./anvil.log. Not backwards compatible with repos not ignoring the file explicitly.-G flag also includes:
env::consts::OS)--no-color to disable color output--force to overwrite ready targets-e, --strict-a to set compatibility level-k to set project type-O to set stego.lock dir (defaults to working directory)stego.lock parsing, up to 1.7.x$HOME/.anvil/anvil.toml-Z to pass CFLAGS to single file build modeThese features are experimental and subject to change.
To enable them, add --features="anvilPy" to your build/install command.
pyproject.toml is present alongside stego.lockstego.lock itselfstego.lock):
[ anvil ]
version = "2.1.0"
kern = "anvilPy"
--strict
To see how this marvelous work of art works, run:
cd try-anvil
./try_anvil_auto
Refer to amboso info about this test script: link
Our version was slightly modified to actually make cargo build the release version of the binary we want to symlink to anvil.
Check out this page for a very basic benchmark of runtime, relative to bash amboso implementation.
Command to pipeline the git operations in a ugly iper-indented mess.