Skip to content

Instantly share code, notes, and snippets.

@shawnbot
Created August 7, 2013 01:36
Show Gist options
  • Save shawnbot/6170473 to your computer and use it in GitHub Desktop.
Save shawnbot/6170473 to your computer and use it in GitHub Desktop.
Read environment variables from your .env in make tasks.
test:
source .env && echo "my secret key is: $$SECRET_KEY"
@beemi
Copy link

beemi commented Aug 28, 2020

e

include .env
export

This one works

`include .env
export

local-run:
@echo "Run local run tests with slaves:" ${NUMBER_OF_SLAVES}
./scripts/local-run.sh`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment