0
votes
MIX_ENV=test mix compile

...is not working on Windows cmd. It shows:

'MIX_ENV' is not recognized as an internal or external command, operable program or batch file

How to solve this problem?

1
I don't use Windows but I think this should work: set "MIX_ENV=test" && mix compile. - Dogbert

1 Answers

1
votes

Like @Dogbert said, in Windows you have to use the set command:

set MIX_ENV=test && mix compile