Browse code

Improved theme install process added missing assets

Brandon Mathis authored on 08/06/2011 at 20:36:10
Showing 6 changed files
... ...
@@ -3,10 +3,6 @@
3 3
 .sass-cache
4 4
 .gist_cache
5 5
 _cache
6
-_source
7
-_sass
8 6
 public
9 7
 source/_stash
10
-source/javascripts/libs/node_modules
11
-source/javascripts/libs/syntax-highlighter
12 8
 vendor/ruby
... ...
@@ -37,17 +37,6 @@ task :install, :theme do |t, args|
37 37
   system "cp -R themes/"+theme+"/source source"
38 38
   system "cp -R themes/"+theme+"/sass sass"
39 39
   system "cp -R themes/"+theme+"/_plugins/ _plugins/"
40
-
41
-  # The directories source and sass are ignored for development, but when Octopress is installed
42
-  # Users must be able to commit these directories, so this removes those lines from the gitignore
43
-  puts "## Cleaning up..."
44
-  new_content = ""
45
-  File.read('.gitignore').each_line do |e|
46
-    new_content << e unless e.strip == 'source' || e.strip == 'sass'
47
-  end
48
-  File.open('.gitignore', 'w') do |io|
49
-    io << new_content
50
-  end
51 40
 end
52 41
 
53 42
 ## if you're deploying with github, change the default deploy to push_github
54 43
new file mode 100644
... ...
@@ -0,0 +1 @@
0
+system "compass compile --css-dir source/stylesheets"
0 1
deleted file mode 100644
... ...
@@ -1 +0,0 @@
1
-system "sleep 0.5; compass compile --css-dir source/stylesheets"
2 1
new file mode 100644
3 2
Binary files /dev/null and b/themes/classic/source/images/bird_32_gray.png differ
4 3
new file mode 100644
5 4
Binary files /dev/null and b/themes/classic/source/images/bird_32_gray_fail.png differ