Skip to content

Commit

Permalink
Renamed rake task build_gemspec_filelist to files:copy and moved it t…
Browse files Browse the repository at this point in the history
…o deployment.rake
  • Loading branch information
jnunemaker committed Jul 26, 2008
1 parent 52af6fd commit 71091f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
9 changes: 1 addition & 8 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
require 'config/requirements'
require 'config/hoe' # setup Hoe + all gem configuration

Dir['tasks/**/*.rake'].each { |rake| load rake }

task :build_gemspec_filelist do
files = File.read(File.join(File.dirname(__FILE__), 'Manifest.txt')).split("\n")
puts
puts files.inspect
puts
end
Dir['tasks/**/*.rake'].each { |rake| load rake }
7 changes: 7 additions & 0 deletions tasks/deployment.rake
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,11 @@ namespace :manifest do
task :refresh do
`rake check_manifest | patch -p0 > Manifest.txt`
end
end

namespace :files do
task :copy do
files = File.read(File.join(File.dirname(__FILE__), '..', 'Manifest.txt')).split("\n")
%x[echo '#{files.inspect}' | pbcopy]
end
end

0 comments on commit 71091f9

Please sign in to comment.