Streamline middleman wrapper gem [no-ci]
This commit is contained in:
parent
bbff9d822c
commit
10922b6e34
|
@ -1,6 +1,5 @@
|
|||
# coding:utf-8
|
||||
RAKE_ROOT = __FILE__
|
||||
|
||||
require 'rubygems'
|
||||
GEM_NAME = "middleman"
|
||||
require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper')
|
0
middleman/features/.gitkeep
Normal file
0
middleman/features/.gitkeep
Normal file
|
@ -1,7 +0,0 @@
|
|||
PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
|
||||
|
||||
core_root = File.expand_path("../../../../middleman-core/lib/middleman-core", __FILE__)
|
||||
|
||||
require core_root
|
||||
require File.join(core_root, "step_definitions")
|
||||
require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman')
|
|
@ -1,5 +1,6 @@
|
|||
# Depends on both libraries
|
||||
require "middleman-core"
|
||||
require "middleman-more"
|
||||
|
||||
# Make the VERSION string available
|
||||
require "middleman-core/version"
|
||||
require "middleman-core/version"
|
|
@ -14,8 +14,6 @@ Gem::Specification.new do |s|
|
|||
s.description = "A static site generator. Provides dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle."
|
||||
|
||||
s.files = `git ls-files`.split("\n")
|
||||
s.test_files = `git ls-files -- {fixtures,features}/*`.split("\n")
|
||||
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
||||
s.require_paths = ["lib"]
|
||||
|
||||
s.add_dependency("middleman-core", Middleman::VERSION)
|
||||
|
|
Loading…
Reference in a new issue