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

Prepend DevKit

This commit is contained in:
Takashi Kokubun 2016-02-06 15:22:21 +09:00
parent 609b3a6e4a
commit 978844e9e2

View file

@ -1,5 +1,21 @@
require 'bundler/setup'
require 'bundler/gem_tasks'
#
# Prepend DevKit into compilation phase
#
if Gem.win_platform?
desc 'Activates DevKit'
task :devkit do
begin
require 'devkit'
rescue LoadError
abort 'Failed to load DevKit required for compilation'
end
end
task compile: :devkit
end
require 'rake/testtask'
require 'rake/extensiontask'