Skip to content
Browse files

Ignore travis from manifest

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

Haha, you got infected! :D

@matschaffer
Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ .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.
Something went wrong with that request. Please try again.