Amber icon indicating copy to clipboard operation
Amber copied to clipboard

[Feature] Runtime dependencies checker?

Open b1ek opened this issue 1 year ago • 3 comments

Im pretty sure that amber depends on things like bc, sed and [[, and possibly other script-specific dependencies.

Wouldn't it make sense to add a checker in the start of the program to ensure that all of them are there? That would prevent A LOT of runtime errors, as well as ensure safety

b1ek avatar May 24 '24 09:05 b1ek

True. This is fairly needed. The checks should be added by default but also we need to let developers disable adding them as well.

Ph0enixKM avatar May 24 '24 14:05 Ph0enixKM

We should probably also only focus on the dependencies of the Amber runtime. Trying to extract and automatically detect script specific dependencies seems like a bigger problem.

boushley avatar May 27 '24 18:05 boushley

This problem is currently being resolved by @b1ek as a separate project https://github.com/b1ek/bshchk.

Ph0enixKM avatar Jun 04 '24 09:06 Ph0enixKM

implemented in #383

b1ek avatar Nov 09 '24 10:11 b1ek