2 ms·
> the ability to load environment variables from a `.env` file make can do that too. Put include .env export at the top of the Makefile. Works for me on
by efxhoy 4y ago
> the ability to load environment variables from a `.env` file
make can do that too. Put
include .env
export
at the top of the Makefile. Works for me on GNU Make 3.81 on MacOS.
- n8henrie 4y agoThanks, I was just looking for a way to do this today! Looks like there are some caveats and a slightly different approach: https://unix.stackexchange.com/a/235254 https://unix.stackexchange.com/a/235254