Permalink
Browse files

Fine-tune final contents

  • Loading branch information...
stewart committed Apr 13, 2015
1 parent 61ee49f commit 301ad385256c44e4e09bf6b6f33ee2334594985c
Showing with 13 additions and 16 deletions.
  1. +3 −0 .npmignore
  2. +10 −16 robeaux.gemspec
View
@@ -1,3 +1,6 @@
src
spec
script
robeaux.gemspec
*.gem
/.*
View
@@ -1,20 +1,6 @@
# -*- encoding: utf-8 -*-
def files
included = []
included << "index.html"
included << "README.markdown"
included << "Makefile"
included << "robeaux.gemspec"
included << Dir[File.join("css", "**", "*")]
included << Dir[File.join("js", "**", "*")]
included << Dir[File.join("fonts", "**", "*")]
included << Dir[File.join("images", "**", "*")]
included.flatten
end
require "rake"
Gem::Specification.new do |s|
s.name = "robeaux"
@@ -27,5 +13,13 @@ Gem::Specification.new do |s|
s.description = s.summary
s.license = 'Apache 2.0'
s.files = files
s.files = FileList[
"index.html",
"README.markdown",
"robeaux.gemspec",
"css/**/*",
"js/**/*",
"fonts/**/*",
"images/**/*"
].to_a
end

0 comments on commit 301ad38

Please sign in to comment.