mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-24 08:28:50 -05:00
Improved theme install process
added missing assets
This commit is contained in:
parent
4b56cd9328
commit
519e234aab
4
.gitignore
vendored
4
.gitignore
vendored
@ -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
|
||||
|
11
Rakefile
11
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
|
||||
|
1
_plugins/compass_compiler.rb
Normal file
1
_plugins/compass_compiler.rb
Normal file
@ -0,0 +1 @@
|
||||
system "compass compile --css-dir source/stylesheets"
|
@ -1 +0,0 @@
|
||||
system "sleep 0.5; compass compile --css-dir source/stylesheets"
|
BIN
themes/classic/source/images/bird_32_gray.png
Normal file
BIN
themes/classic/source/images/bird_32_gray.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/classic/source/images/bird_32_gray_fail.png
Normal file
BIN
themes/classic/source/images/bird_32_gray_fail.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 615 B |
Loading…
Reference in New Issue
Block a user