commit
6239bca6e6
|
@ -13,6 +13,7 @@
|
||||||
/vendor
|
/vendor
|
||||||
Gemfile.lock
|
Gemfile.lock
|
||||||
_site/
|
_site/
|
||||||
|
bin/
|
||||||
bbin/
|
bbin/
|
||||||
coverage
|
coverage
|
||||||
gh-pages/
|
gh-pages/
|
||||||
|
|
|
@ -4,6 +4,7 @@ AllCops:
|
||||||
Include:
|
Include:
|
||||||
- lib/**/*.rb
|
- lib/**/*.rb
|
||||||
Exclude:
|
Exclude:
|
||||||
|
- exe/jekyll
|
||||||
- lib/jekyll/collection.rb
|
- lib/jekyll/collection.rb
|
||||||
- lib/jekyll/command.rb
|
- lib/jekyll/command.rb
|
||||||
- lib/jekyll/configuration.rb
|
- lib/jekyll/configuration.rb
|
||||||
|
|
|
@ -12,7 +12,7 @@ class Paths
|
||||||
|
|
||||||
def self.status_file; test_dir.join("jekyll_status.txt"); end
|
def self.status_file; test_dir.join("jekyll_status.txt"); end
|
||||||
|
|
||||||
def self.jekyll_bin; source_dir.join("bin", "jekyll"); end
|
def self.jekyll_bin; source_dir.join("exe", "jekyll"); end
|
||||||
|
|
||||||
def self.source_dir; SOURCE_DIR; end
|
def self.source_dir; SOURCE_DIR; end
|
||||||
end
|
end
|
||||||
|
|
|
@ -21,8 +21,9 @@ Gem::Specification.new do |s|
|
||||||
s.homepage = 'https://github.com/jekyll/jekyll'
|
s.homepage = 'https://github.com/jekyll/jekyll'
|
||||||
|
|
||||||
all_files = `git ls-files -z`.split("\x0")
|
all_files = `git ls-files -z`.split("\x0")
|
||||||
s.files = all_files.grep(%r{^(bin|lib)/|^.rubocop.yml$})
|
s.files = all_files.grep(%r{^(exe|lib)/|^.rubocop.yml$})
|
||||||
s.executables = all_files.grep(%r{^bin/}) { |f| File.basename(f) }
|
s.executables = all_files.grep(%r{^exe/}) { |f| File.basename(f) }
|
||||||
|
s.bindir = "exe"
|
||||||
s.require_paths = ['lib']
|
s.require_paths = ['lib']
|
||||||
|
|
||||||
s.rdoc_options = ['--charset=UTF-8']
|
s.rdoc_options = ['--charset=UTF-8']
|
||||||
|
|
Loading…
Reference in New Issue