Permalink
Browse files

Ignore travis from manifest

Decided to also set up a proper ignore array.
  • Loading branch information...
matschaffer committed Jan 12, 2013
1 parent 4333e67 commit 020824b5daa24ba8169717f06dbf1408725c7f65
Showing with 13 additions and 2 deletions.
  1. +13 −2 Rakefile
View
@@ -1,13 +1,24 @@
require 'bundler/gem_tasks'
require 'rake/testtask'
+MANIFEST_IGNORES = %w[

This comment has been minimized.

Show comment
Hide comment
@tmatilai

tmatilai Jan 12, 2013

Collaborator

Haha, you got infected! :D

@tmatilai

tmatilai Jan 12, 2013

Collaborator

Haha, you got infected! :D

This comment has been minimized.

Show comment
Hide comment
@matschaffer

matschaffer Jan 12, 2013

Owner
@matschaffer

matschaffer via email Jan 12, 2013

Owner
+ .travis.yml
+ .gitignore
+ Gemfile
+ Gemfile.lock
+ Manifest.txt
+ README.md
+ knife-solo.gemspec
+ script/newb
+ script/test
+ ]
+
desc 'Updates Manifest.txt with a list of files from git'
task :manifest do
git_files = `git ls-files`.split("\n")
- ignored = %w(.gitignore Gemfile Gemfile.lock Manifest.txt README.md knife-solo.gemspec script/newb script/test)
File.open('Manifest.txt', 'w') do |f|
- f.puts (git_files - ignored).join("\n")
+ f.puts (git_files - MANIFEST_IGNORES).join("\n")
end
end
task :release => :manifest

0 comments on commit 020824b

Please sign in to comment.