Skip to content

Commit 2e2edc9

Browse files
committed
Update Rakefile quotation syntax
1 parent c03ffe7 commit 2e2edc9

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

Rakefile

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
desc "Generate flat files with Middleman"
1+
desc 'Generate flat files with Middleman'
22
task :generate do
3-
puts "## Generating site with Middleman"
4-
system "rm -rf build"
5-
system "./bin/middleman build --clean"
6-
system "cp CNAME build/CNAME"
7-
cd "build" do
8-
system "touch .nojekyll"
9-
system "git init"
10-
system "git remote add origin git@github.com:mvcss/mvcss.github.com.git"
3+
puts '## Generating site with Middleman'
4+
system 'rm -rf build'
5+
system 'bundle exec middleman build --clean'
6+
system 'cp CNAME build/CNAME'
7+
cd 'build' do
8+
system 'touch .nojekyll'
9+
system 'git init'
10+
system 'git remote add origin git@github.com:mvcss/mvcss.github.com.git'
1111
end
1212
end
1313

14-
desc "Push the build to GitHub"
14+
desc 'Push the build to GitHub'
1515
task :push do
16-
puts "## Deploying build to GitHub Pages"
17-
cd "build" do
18-
system "git add ."
19-
system "git add -u"
20-
system "git commit -m \"Site updated at #{Time.now.utc}\""
21-
system "git push origin master --force"
16+
puts '## Deploying build to GitHub Pages'
17+
cd 'build' do
18+
system 'git add .'
19+
system 'git add -u'
20+
system "git commit -m \'Site updated at #{Time.now.utc}\'"
21+
system 'git push origin master --force'
2222
end
2323
end
2424

25-
desc "Generate flat files and deploy to GitHub Pages"
25+
desc 'Generate flat files and deploy to GitHub Pages'
2626
task :deploy => [:generate, :push] do
2727
end

0 commit comments

Comments
 (0)