about summary refs log tree commit homepage
path: root/projects/mongrel_service/Rakefile
diff options
context:
space:
mode:
authorluislavena <luislavena@19e92222-5c0b-0410-8929-a290d50e31e9>2006-11-27 04:48:37 +0000
committerluislavena <luislavena@19e92222-5c0b-0410-8929-a290d50e31e9>2006-11-27 04:48:37 +0000
commitf9e5eb791faf62ba5a603acc40d7171cc26182cb (patch)
treed78016a5b636e7b736ce03ff6d806e665588017a /projects/mongrel_service/Rakefile
parent17c3acb3c12b9e131e7acf298d87630e9ee0e927 (diff)
downloadunicorn-f9e5eb791faf62ba5a603acc40d7171cc26182cb.tar.gz
New organization plan (TODO).

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@442 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'projects/mongrel_service/Rakefile')
-rw-r--r--projects/mongrel_service/Rakefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/projects/mongrel_service/Rakefile b/projects/mongrel_service/Rakefile
index dcab8c7..f2687e9 100644
--- a/projects/mongrel_service/Rakefile
+++ b/projects/mongrel_service/Rakefile
@@ -25,7 +25,7 @@ namespace :lib do
     lib       'ServiceFB'
     build_to  'lib'
 
-    define    'SERVICEFB_DEBUG_LOG' if ENV['DEBUG_LIB']
+    define    'SERVICEFB_DEBUG_LOG' unless ENV['RELEASE']
     source    'lib/ServiceFB/ServiceFB.bas'
   end
   
@@ -33,7 +33,7 @@ namespace :lib do
     lib       'ServiceFB_Utils'
     build_to  'lib'
 
-    define    'SERVICEFB_DEBUG_LOG' if ENV['DEBUG_LIB']
+    define    'SERVICEFB_DEBUG_LOG' unless ENV['RELEASE']
     source    'lib/ServiceFB/ServiceFB_Utils.bas'
   end
 end
@@ -48,7 +48,7 @@ namespace :native do
     executable  'mongrel_service'
     build_to    'bin'
     
-    define      'DEBUG_LOG' if ENV['DEBUG_LOG']
+    define      'DEBUG_LOG' unless ENV['RELEASE']
     
     main        'native/mongrel_service.bas'
     source      'native/process.bas'
@@ -71,6 +71,7 @@ task :clobber => "native:clobber"
 
 setup_gem(GEM_NAME, GEM_VERSION) do |spec|
   spec.summary = "Mongrel Native Win32 Service Plugin for Rails"
+  spec.summary += " (debug build)" unless ENV['RELEASE']
   spec.description = "This plugin offer native win32 services for rails, powered by Mongrel."
   spec.author = "Luis Lavena"
   spec.platform = Gem::Platform::WIN32