I have a pre-commit hook that runs some tests. This used to work great until the tests started to rely on environment variables. Is there a way to set those environment variables in SmartGit so the pre-commit tests can complete?
Two options:
1) Add your variables to /etc/profile or /etc/launchd.conf and SmartGit will pick them up.
2) Simply launch SmartGit from the shell instead of the desktop environment and your variables from files such as ~/.bashrc will be present. (That's what I'm doing, using a brief alias for convenience.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With