AtomBuild / atom-build-make

GNU Make plugin for atom-build
MIT License
13 stars 19 forks source link

build-make ignores environment variables #32

Closed Razzile closed 7 years ago

Razzile commented 7 years ago

I have a makefile project that relies on a few outside environment variables but build-make cannot resolve them. In the below screenshot $THEOS cannot be resolved by build-make image

noseglid commented 7 years ago

The environment is inherited, so any environment set for Atom will be set for the spawned command.

Make sure you start atom, and have the environment set the same way as you've done with that shell of yours. Note that if using Atom from e.g. /Applications, the same routines as when starting bash may not run.

Razzile commented 7 years ago

Just as a reference for anyone else who sees this thread, adding my variables to /etc/profile worked.