Commit 7bb2aec2c0bd313bc5c6ff82005eb19e5a16bf35

Authored by Antonio Terceiro
1 parent 092643f0

server: use the global $SPB_ENV

this saves typing when one defines ENV['SPB_ENV'] in local.rake
Showing 2 changed files with 4 additions and 0 deletions   Show diff stats
server
... ... @@ -2,6 +2,7 @@
2 2  
3 3 set -e
4 4  
  5 +export SPB_ENV=$(rake env)
5 6 if [ -f test/ip_helper.sh ]; then
6 7 ROOTDIR=$(dirname $0)
7 8 . test/ip_helper.sh
... ...
tasks/env.rake 0 → 100644
... ... @@ -0,0 +1,3 @@
  1 +task :env do
  2 + puts $SPB_ENV
  3 +end
... ...