Remove comments
This commit is contained in:
parent
d298e2bd57
commit
9c65ceb22d
20
bin/jekyll2
20
bin/jekyll2
|
@ -19,17 +19,13 @@ global_option '--safe', 'Safe mode (defaults to false)'
|
|||
global_option '--plugins', 'Plugins directory (defaults to ./_plugins)'
|
||||
global_option '--layouts', 'Layouts directory (defaults to ./_layouts)'
|
||||
|
||||
# Build command
|
||||
#
|
||||
# Options:
|
||||
# --source
|
||||
# --destination
|
||||
# --watch
|
||||
command :build do |c|
|
||||
c.syntax = 'jekyll build [options]'
|
||||
c.description = 'Build your site with the option of auto-renegeration'
|
||||
|
||||
c.option '-w', '--watch', 'Watch for changes and rebuild'
|
||||
c.option '--lsi', 'Use LSI for improved related posts'
|
||||
|
||||
c.action do |args, options|
|
||||
options.defaults :serving => false
|
||||
options = Jekyll.configuration(options.__hash__)
|
||||
|
@ -37,21 +33,13 @@ command :build do |c|
|
|||
end
|
||||
end
|
||||
|
||||
# Serve command
|
||||
#
|
||||
# Options:
|
||||
# --source
|
||||
# --destination
|
||||
# --watch
|
||||
#
|
||||
# --port
|
||||
# --host
|
||||
# --baseurl
|
||||
command :serve do |c|
|
||||
c.syntax = 'jekyll serve [options]'
|
||||
c.description = 'Serve your site locally with the option of auto-regeneration'
|
||||
|
||||
c.option '-w', '--watch', 'Watch for changes and rebuild'
|
||||
c.option '--lsi', 'Use LSI for improved related posts'
|
||||
|
||||
c.option '-p', '--port [PORT]', 'Port to listen on'
|
||||
c.option '-h', '--host [HOST]', 'Host to bind to'
|
||||
c.option '-b', '--baseurl [URL]', 'Base URL'
|
||||
|
|
Loading…
Reference in New Issue