15 lines
465 B
Ruby
Executable File
15 lines
465 B
Ruby
Executable File
require "json"
|
|
$package = JSON.parse(File.read(File.expand_path("package.json", __dir__)))
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "bootswatch"
|
|
s.version = $package["version"].tr("+", ".")
|
|
s.author = $package["author"]
|
|
s.homepage = $package["homepage"]
|
|
s.summary = $package["description"]
|
|
s.license = $package["license"]
|
|
|
|
s.files = Dir["{dist}/**/*", "LICENSE", "README.md", "package.json"]
|
|
s.require_paths = ["dist"]
|
|
end
|