3 ms·
Huge fan of just; I add a Justfile to pretty muc hevery new repo I create regardless of language or stack. My personal favorite feature is the ability to load
by Ameo 4y ago
Huge fan of just; I add a Justfile to pretty muc hevery new repo I create regardless of language or stack.
My personal favorite feature is the ability to load environment variables from a `.env` file and set them for all commands run. Just have to add this to the top of your `Justfile` to make it happen:
`set dotenv-load := true`
- 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