mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Properly display package/gem version for mongrel_service. Closes #13823.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@582 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
parent
537f843a1b
commit
2eaecba2ff
2 changed files with 10 additions and 1 deletions
|
@ -92,6 +92,7 @@ namespace :native do
|
|||
build_to 'bin'
|
||||
|
||||
define 'DEBUG_LOG' unless ENV['RELEASE']
|
||||
define "GEM_VERSION=#{GEM_VERSION}"
|
||||
|
||||
main 'native/mongrel_service.bas'
|
||||
source 'native/process.bas'
|
||||
|
|
|
@ -22,8 +22,16 @@
|
|||
#include once "lib/ServiceFB/ServiceFB.bi"
|
||||
#include once "process.bi"
|
||||
|
||||
'# use for debug versions
|
||||
#if not defined(GEM_VERSION)
|
||||
#define GEM_VERSION (debug mode)
|
||||
#endif
|
||||
|
||||
'# preprocessor stringize
|
||||
#define PPSTR(x) #x
|
||||
|
||||
namespace mongrel_service
|
||||
const VERSION as string = "0.3.1"
|
||||
const VERSION as string = PPSTR(GEM_VERSION)
|
||||
|
||||
'# namespace include
|
||||
using fb.svc
|
||||
|
|
Loading…
Reference in a new issue