...
|
...
|
@@ -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
|