setup rakefile for windows build
This commit is contained in:
parent
80a5a25457
commit
22adf3b516
|
@ -2,7 +2,9 @@ require 'rubygems' unless defined?(Gem)
|
||||||
require 'rake'
|
require 'rake'
|
||||||
require 'cucumber/rake/task'
|
require 'cucumber/rake/task'
|
||||||
require 'yard'
|
require 'yard'
|
||||||
require 'bundler/gem_tasks'
|
|
||||||
|
require 'bundler'
|
||||||
|
Bundler::GemHelper.install_tasks :name => GEM_NAME
|
||||||
|
|
||||||
# Skip the releasing tag
|
# Skip the releasing tag
|
||||||
class Bundler::GemHelper
|
class Bundler::GemHelper
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
# coding:utf-8
|
# coding:utf-8
|
||||||
RAKE_ROOT = __FILE__
|
RAKE_ROOT = __FILE__
|
||||||
|
|
||||||
|
GEM_NAME = "middleman-core" + (ENV["WINDOWS"] ? "-x86-mingw32" : "")
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper')
|
||||||
|
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
RAKE_ROOT = __FILE__
|
RAKE_ROOT = __FILE__
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
|
GEM_NAME = "middleman-more"
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper')
|
|
@ -2,4 +2,5 @@
|
||||||
RAKE_ROOT = __FILE__
|
RAKE_ROOT = __FILE__
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
|
GEM_NAME = "middleman"
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper')
|
Loading…
Reference in a new issue