fix rakefile
This commit is contained in:
parent
48d2956a57
commit
1a15147f67
1 changed files with 3 additions and 3 deletions
6
Rakefile
6
Rakefile
|
@ -24,8 +24,8 @@ directory 'docs/'
|
|||
|
||||
|
||||
# Make index.html a copy of rocco.html
|
||||
file 'docs/index.html' => 'docs/lib/middleman.html' do |f|
|
||||
cp 'docs/lib/middleman.html', 'docs/index.html', :preserve => true
|
||||
file 'docs/index.html' => 'docs/middleman.html' do |f|
|
||||
cp 'docs/middleman.html', 'docs/index.html', :preserve => true
|
||||
end
|
||||
task :docs => 'docs/index.html'
|
||||
CLEAN.include 'docs/index.html'
|
||||
|
@ -49,4 +49,4 @@ file 'docs/.git' => ['docs/', '.git/refs/heads/gh-pages'] do |f|
|
|||
sh "cd docs && git init -q && git remote add o ../.git" if !File.exist?(f.name)
|
||||
sh "cd docs && git fetch -q o && git reset -q --hard o/gh-pages && touch ."
|
||||
end
|
||||
CLOBBER.include 'docs/.git'
|
||||
CLOBBER.include 'docs/.git'
|
||||
|
|
Loading…
Reference in a new issue