Skip to content

Commit 85b4658

Browse files
author
Mike Bland
committed
Update ./go script
1 parent 1d7bc0a commit 85b4658

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ def_command :update_nav, 'Update the \'navigation:\' data in _config.yml' do
3636
end
3737

3838
def_command :update_theme, 'Update the guides_style_18f gem' do
39-
exec({ 'RUBYOPT' => nil }, 'bundle', *%w(update --source guides_style_18f))
39+
GuidesStyle18F.update_theme
4040
end
4141

4242
def_command :update_gems, 'Update Ruby gems' do |gems|
4343
update_gems gems
4444
end
4545

46-
def_command :serve, 'Serve the site at localhost:4000' do
47-
serve_jekyll
46+
def_command :serve, 'Serve the site at localhost:4000' do |args|
47+
serve_jekyll args
4848
end
4949

50-
def_command :build, 'Build the site' do
51-
build_jekyll
50+
def_command :build, 'Build the site' do |args|
51+
build_jekyll args
5252
end
5353

5454
execute_command ARGV

0 commit comments

Comments
 (0)