prep 3.0 beta windows gem
This commit is contained in:
parent
96924ad5a1
commit
80a5a25457
4 changed files with 45 additions and 9 deletions
|
@ -22,6 +22,8 @@ require "middleman-core/vendor/hooks-0.2.0/lib/hooks"
|
|||
module Middleman
|
||||
WINDOWS = !!(RUBY_PLATFORM =~ /(mingw|bccwin|wince|mswin32)/i) unless const_defined?(:WINDOWS)
|
||||
JRUBY = !!(RbConfig::CONFIG["RUBY_INSTALL_NAME"] =~ /^jruby/i) unless const_defined?(:JRUBY)
|
||||
DARWIN = RbConfig::CONFIG['target_os'] =~ /darwin/i
|
||||
LINUX = RbConfig::CONFIG['target_os'] =~ /linux/i
|
||||
|
||||
# Auto-load modules on-demand
|
||||
autoload :Base, "middleman-core/base"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue