DEV Community

Discussion on: Get Environment Variables From a File into Makefile

Collapse
 
smac89 profile image
smac89

Downside to this is that .env syntax is not a subset of the Makefile syntax because there are certain symbols allowed in .env, which make requires to be escaped. For example the symbols: # and $.

Also the fact that make treats tab as special means that it will attempt to interpret tabs as meaningful inside .env files