1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Ignore stackprof on windows

since it can't be built
This commit is contained in:
Takashi Kokubun 2016-02-06 10:57:20 +09:00
parent d19fdc3c2c
commit 717a5b17d3

View file

@ -14,7 +14,8 @@ if File.exist?('hamlit1')
gem 'hamlit1', path: 'hamlit1'
end
if RUBY_VERSION >= '2.1.0'
is_windows = RUBY_PLATFORM =~ /mswin|mingw|bccwin|wince/
if RUBY_VERSION >= '2.1.0' && !is_windows
gem 'lineprof'
gem 'stackprof'
end