From 519e234aab885944cf165f29a2a5f09bf02f0f79 Mon Sep 17 00:00:00 2001
From: Brandon Mathis <brandon@imathis.com>
Date: Wed, 8 Jun 2011 16:36:10 -0400
Subject: Improved theme install process added missing assets

---
 .gitignore                                         |   4 ----
 Rakefile                                           |  11 -----------
 _plugins/compass_compiler.rb                       |   1 +
 _plugins/generate_styles.rb                        |   1 -
 themes/classic/source/images/bird_32_gray.png      | Bin 0 -> 1376 bytes
 themes/classic/source/images/bird_32_gray_fail.png | Bin 0 -> 615 bytes
 6 files changed, 1 insertion(+), 16 deletions(-)
 create mode 100644 _plugins/compass_compiler.rb
 delete mode 100644 _plugins/generate_styles.rb
 create mode 100644 themes/classic/source/images/bird_32_gray.png
 create mode 100644 themes/classic/source/images/bird_32_gray_fail.png

diff --git a/.gitignore b/.gitignore
index 85681c55..8244bf0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,10 +3,6 @@
 .sass-cache
 .gist_cache
 _cache
-_source
-_sass
 public
 source/_stash
-source/javascripts/libs/node_modules
-source/javascripts/libs/syntax-highlighter
 vendor/ruby
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
diff --git a/_plugins/compass_compiler.rb b/_plugins/compass_compiler.rb
new file mode 100644
index 00000000..dcec746a
--- /dev/null
+++ b/_plugins/compass_compiler.rb
@@ -0,0 +1 @@
+system "compass compile --css-dir source/stylesheets"
diff --git a/_plugins/generate_styles.rb b/_plugins/generate_styles.rb
deleted file mode 100644
index e1819f84..00000000
--- a/_plugins/generate_styles.rb
+++ /dev/null
@@ -1 +0,0 @@
-system "sleep 0.5; compass compile --css-dir source/stylesheets"
diff --git a/themes/classic/source/images/bird_32_gray.png b/themes/classic/source/images/bird_32_gray.png
new file mode 100644
index 00000000..574f210a
Binary files /dev/null and b/themes/classic/source/images/bird_32_gray.png differ
diff --git a/themes/classic/source/images/bird_32_gray_fail.png b/themes/classic/source/images/bird_32_gray_fail.png
new file mode 100644
index 00000000..8337d103
Binary files /dev/null and b/themes/classic/source/images/bird_32_gray_fail.png differ
-- 
cgit v1.2.1