testiumjs / testium-core

Juggling the bits and pieces to run integration tests
BSD 3-Clause "New" or "Revised" License
4 stars 7 forks source link

Environment variables are available in npm start scripts. #25

Closed shinout closed 8 years ago

shinout commented 8 years ago

fix #24

Args with '=' are regarded as declaration of environment variables until one without '=' appears.

ABC=xxx XYZ=123 node server.js abc=xxx
#   |     |      |       |      |  
#   |     |      |     command-args
#   env-vars  command
shinout commented 8 years ago

OK, I'll resend PR.

shinout commented 8 years ago

@jkrems Hi, what do you think of this?