mctools / simplebuild

A very simple to use build system for projects with primarily C++/Python code, intended for usage by scientific developers without a strong SW-engineering background.
https://mctools.github.io/simplebuild/
Apache License 2.0
3 stars 1 forks source link

bashrc snippet usage gives errors outside bundle dirs #28

Closed tkittel closed 9 months ago

tkittel commented 9 months ago

With simple-build-system installed in the environment, the invocation of simple bundle-independent commands like sb --version still cause a subsequent hidden sb --env-setup, which can lead to errors if outside a bundle dir:

$> sb --version
0.0.14.post0+git.99507012.dirty
ERROR: In order to continue, please step into a directory tree with a simplebuild.cfg file at its root.

The solution might be a hidden --env-setup-silent-abort flag which will simply abort silently if not inside a given bundle area.

tkittel commented 9 months ago

Fixed now, as described.