Skip to content

Commit 3becd7e

Browse files
committed
Add Gemfile for jekyll depends
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
1 parent 2a703a1 commit 3becd7e

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

Gemfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'rake'
4+
gem 'multi_json'
5+
gem 'hashie'
6+
gem 'awesome_print'
7+
gem 'jekyll'
8+
gem 'rdiscount'
9+
gem 'RedCloth'

Rakefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,15 @@ YAML
4747
end
4848
end
4949
end
50+
51+
desc "Run jekyll serve"
52+
task :serve do
53+
puts "Startup web service"
54+
`jekyll serve`
55+
end
56+
57+
desc "Run jekyll build"
58+
task :build do
59+
puts "Start to build web pages"
60+
`jekyll build`
61+
end

0 commit comments

Comments
 (0)