aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-06-08 16:36:10 -0400
committerBrandon Mathis <brandon@imathis.com>2011-06-08 16:36:10 -0400
commit519e234aab885944cf165f29a2a5f09bf02f0f79 (patch)
tree3dfeace173dbe17832def2c02e36494161132ce8
parent4b56cd93283f1941e803647f417e1ac73457b6b8 (diff)
downloadmy_new_personal_website-519e234aab885944cf165f29a2a5f09bf02f0f79.tar.xz
my_new_personal_website-519e234aab885944cf165f29a2a5f09bf02f0f79.zip
Improved theme install process
added missing assets
-rw-r--r--.gitignore4
-rw-r--r--Rakefile11
-rw-r--r--_plugins/compass_compiler.rb1
-rw-r--r--_plugins/generate_styles.rb1
-rw-r--r--themes/classic/source/images/bird_32_gray.pngbin0 -> 1376 bytes
-rw-r--r--themes/classic/source/images/bird_32_gray_fail.pngbin0 -> 615 bytes
6 files changed, 1 insertions, 16 deletions
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
--- /dev/null
+++ b/themes/classic/source/images/bird_32_gray.png
Binary files 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
--- /dev/null
+++ b/themes/classic/source/images/bird_32_gray_fail.png
Binary files differ