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
@@ -2,6 +2,7 @@ @@ -2,6 +2,7 @@
2 2
3 set -e 3 set -e
4 4
  5 +export SPB_ENV=$(rake env)
5 if [ -f test/ip_helper.sh ]; then 6 if [ -f test/ip_helper.sh ]; then
6 ROOTDIR=$(dirname $0) 7 ROOTDIR=$(dirname $0)
7 . test/ip_helper.sh 8 . test/ip_helper.sh
tasks/env.rake 0 → 100644
@@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
  1 +task :env do
  2 + puts $SPB_ENV
  3 +end