Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor gemspec #56

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
begin
require 'bundler/gem_tasks'
rescue LoadError
puts 'Cannot load bundler/gem_tasks'
end

require 'bundler/gem_tasks'
require 'tasks/libsass'

task default: :test
Expand Down
6 changes: 2 additions & 4 deletions sassc.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,20 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/sass/sassc-ruby"
spec.license = "MIT"

spec.files = `git ls-files -z`.split("\x0")
spec.files = Dir.glob('lib/**/*') + %w(README.md LICENSE.txt ext/Rakefile)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})

spec.require_paths = ["lib"]

spec.extensions = ["ext/Rakefile"]

spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
spec.add_development_dependency "minitest", "~> 5.5.1"
spec.add_development_dependency "minitest-around"
spec.add_development_dependency "test_construct"
spec.add_development_dependency "pry"

spec.add_dependency "bundler"
spec.add_dependency "ffi", "~> 1.9.6"
spec.add_dependency "sass", ">= 3.3.0"

Expand All @@ -43,4 +42,3 @@ Gem::Specification.new do |spec|
end
end
end