Improved theme install process

added missing assets
This commit is contained in:
Brandon Mathis 2011-06-08 16:36:10 -04:00
parent 4b56cd9328
commit 519e234aab
6 changed files with 1 additions and 16 deletions

4
.gitignore vendored
View File

@ -3,10 +3,6 @@
.sass-cache .sass-cache
.gist_cache .gist_cache
_cache _cache
_source
_sass
public public
source/_stash source/_stash
source/javascripts/libs/node_modules
source/javascripts/libs/syntax-highlighter
vendor/ruby vendor/ruby

View File

@ -37,17 +37,6 @@ task :install, :theme do |t, args|
system "cp -R themes/"+theme+"/source source" system "cp -R themes/"+theme+"/source source"
system "cp -R themes/"+theme+"/sass sass" system "cp -R themes/"+theme+"/sass sass"
system "cp -R themes/"+theme+"/_plugins/ _plugins/" 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 end
## if you're deploying with github, change the default deploy to push_github ## if you're deploying with github, change the default deploy to push_github

View File

@ -0,0 +1 @@
system "compass compile --css-dir source/stylesheets"

View File

@ -1 +0,0 @@
system "sleep 0.5; compass compile --css-dir source/stylesheets"

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 B