From 519e234aab885944cf165f29a2a5f09bf02f0f79 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Wed, 8 Jun 2011 16:36:10 -0400 Subject: [PATCH] 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 .../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 85681c5..8244bf0 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 85d7be8..7ce6f96 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 0000000..dcec746 --- /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 e1819f8..0000000 --- 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 0000000000000000000000000000000000000000..574f210aec48f6e7a517c86ac71904b08b66391c GIT binary patch literal 1376 zcmbVMZA=?w9KWJ4WMkPzh#8A|9!nq#?Y*@0=-I-0cXTw;jP%T0b^O_hkclfS(rFuGUq@s$Yy2)MuJR?FEhgC+%grTV^!~fq91S{yyWhA z{?GIO{r>NFsLs11Kd&ecf}nhN4eQfZSbuYKw6Bs%{i-dS)#{+?mm+GMlL6!mOAP>a z3tS`c0WO?uxeV+O^iYHk1l6FYmI_INiPLpV2_dGTA;?~ph;gB2pu!EHkry4voeM(< z%!eJwu5u6Ni7}vwuSvGIkR_*ro;sM3WB`|&Fk=X_Vz3oA;bsd-l4US~;TVb$C{7r0k}?w%hQZ4ZqFIx} z5z5E9mThU018Gv#7=@zoc-#~>nsI90z@Q)j-YAb;63Cvo7 z<4z0iWU5Jqu3!iYW42~ER>jgT9HVWt#l~21yc%;7F49FXIAg|X+De-Y5}~QktX~%=pV;4;SJ^UDnI96fFy6ejfb}v<}p_E3K~yE5idsZDM3?G@{vm zJ`F*JPB-feB(B{$`jgO(Z8&IXh2jTJ6-<5wS!>AL0!wWj<-Ga`U2-Y6<*#zMmeb4fs#F_xs48Ve^k(`-}I!ORYO5zU`V% zzxMb*kNR7E)}`0CzLPsPAW~KIXGo_cW!o!v9}N8!Mk z_%Lfe|KW61V%t#9554`$_4oVtUW;tw>4WLvXUsP?-2`{DQrmE=xqoqiZV z5CrycI9vdji^x;QX&FiXcsy>V)9L;ufYNv+B0m7wtrHqV@}($>XV-PJ&H!;7J0h|L zFuv9JLVIJ(>{Oa}0iq~cSeCWz<3=(Sk(A^sfN!VL8Dl)HwciNP(>x=&IUbLGUEPx; z`A+gD0IwFH-1guWXObz&Wn1@`KC22q5CryUH2Q;nHP1-Slv2C4MC&pz91d4K&4GU> z#p#k*0T7XS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