From 519e234aab885944cf165f29a2a5f09bf02f0f79 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Wed, 8 Jun 2011 16:36:10 -0400 Subject: Improved theme install process added missing assets --- Rakefile | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 85d7be88..7ce6f96f 100644 --- a/Rakefile +++ b/Rakefile @@ -37,17 +37,6 @@ task :install, :theme do |t, args| system "cp -R themes/"+theme+"/source source" system "cp -R themes/"+theme+"/sass sass" system "cp -R themes/"+theme+"/_plugins/ _plugins/" - - # The directories source and sass are ignored for development, but when Octopress is installed - # Users must be able to commit these directories, so this removes those lines from the gitignore - puts "## Cleaning up..." - new_content = "" - File.read('.gitignore').each_line do |e| - new_content << e unless e.strip == 'source' || e.strip == 'sass' - end - File.open('.gitignore', 'w') do |io| - io << new_content - end end ## if you're deploying with github, change the default deploy to push_github -- cgit v1.2.1