mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Default mongrel_service compilation to debug mode (dump log files). Use RELEASE=1 to supress.
New organization plan (TODO). git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@442 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
parent
17c3acb3c1
commit
f9e5eb791f
2 changed files with 22 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -1,7 +1,19 @@
|
|||
= mongrel_service (native) TODO List
|
||||
Legend:
|
||||
[ ] not done
|
||||
[X] done
|
||||
[+] in progess
|
||||
|
||||
* Add more documentation about services
|
||||
* Build win32/service extension inside the gem and ship with it.
|
||||
(instead of relying in the non-official 0.5.0 one).
|
||||
* Sanitize SingleMongrel and document the functions
|
||||
|
||||
### General
|
||||
[ ] Add more documentation about services and requirements
|
||||
[ ] Add process monitoring.
|
||||
|
||||
### Dependencies
|
||||
[+] Remove win32/service extension dependency (instead of relying in the non-official 0.5.0 one).
|
||||
[ ] Add service management (from ServiceFB) to install and remove services.
|
||||
|
||||
### SingleMongrel
|
||||
[+] Sanitize SingleMongrel and document the functions.
|
||||
|
||||
### ClusterMongrel
|
||||
[ ] Parse mongrel_cluster configuration file (yaml) looking for port information
|
||||
[ ] Reimplent SingleMongrel for ClusterMongrel, splitting source files for better organization.
|
||||
|
|
Loading…
Reference in a new issue