groovecoder / discord

GitHub webhook that analyzes pull requests and adds comments about incompatible CSS
Mozilla Public License 2.0
29 stars 13 forks source link

Support environment-specific configuration #146

Closed openjck closed 9 years ago

openjck commented 9 years ago

This need came up while writing Postgres tests. Setting environment variables in test files is a real hack. These changes allow us to define environment-specific configurations in config.js.

darkwing commented 9 years ago

What about getConfigValue ?

openjck commented 9 years ago

You got it. Updated! :smile:

openjck commented 9 years ago

I'm going to need to roll this into the Postgres PR. Testing is turning out to be a lot harder without it.