Skip to content

Commit

Permalink
update the rakefile to fix gem install -t, misc other changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bleything committed Sep 19, 2006
1 parent e35a38f commit 8dd9c0e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG
@@ -1,7 +1,10 @@
= plist - All-purpose Property List manipulation library

2006-09-18 (r70 - r71):
* Update this file ;)
2006-09-18 (r70 - r72):
* Update this file ;)
* Fix Rakefile
* gem install -t now works correctly
* Remove super-sekr1t rdoc staging area from rdoc publishing task

2006-09-15 (r64 - r69):
* Change behavior of empty collection elements to match What Apple Does
Expand Down
7 changes: 4 additions & 3 deletions Rakefile
Expand Up @@ -29,8 +29,9 @@ RELEASE_NAME = "REL #{PKG_VERSION}"
RUBYFORGE_PROJECT = "plist"
RUBYFORGE_USER = ENV['RUBYFORGE_USER']

TEST_FILES = Dir.glob('test/**/*').delete_if {|item| item.include?( "\.svn" ) }.delete_if{|item| item.include?( "assets" ) }
RELEASE_FILES = [ "Rakefile", "README", "MIT-LICENSE", "docs/USAGE" ] + TEST_FILES + Dir.glob( "lib/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
TEST_FILES = Dir.glob('test/test_*').delete_if { |item| item.include?( "\.svn" ) }
LIB_FILES = Dir.glob('lib/**/*').delete_if { |item| item.include?( "\.svn" ) }
RELEASE_FILES = [ "Rakefile", "README", "MIT-LICENSE", "docs/USAGE" ] + LIB_FILES + TEST_FILES

task :default => [ :test ]
# Run the unit tests
Expand Down Expand Up @@ -98,7 +99,7 @@ end

desc "Copy documentation to rubyforge"
task :update_rdoc => [ :rdoc ] do
Rake::SshDirPublisher.new("#{RUBYFORGE_USER}@rubyforge.org", "/var/www/gforge-projects/#{RUBYFORGE_PROJECT}/sekr1t", "rdoc").upload
Rake::SshDirPublisher.new("#{RUBYFORGE_USER}@rubyforge.org", "/var/www/gforge-projects/#{RUBYFORGE_PROJECT}", "rdoc").upload
end

# Genereate the RDoc documentation
Expand Down

0 comments on commit 8dd9c0e

Please sign in to comment.