Skip to content

Commit

Permalink
Sync Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jabenninghoff committed Jul 26, 2024
1 parent c99c38c commit ea4cead
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rescue StandardError => e
puts e
end

# bundle exec rake update does not work as expected
# TODO: bundle exec rake update does not work as expected
desc 'update gems'
task :update do
sh 'bundle update'
Expand All @@ -21,7 +21,8 @@ end

desc 'build site'
task :build do
sh 'JEKYLL_ENV="production" bundle exec jekyll build'
# using --unpublished or --future disables --drafts
sh 'JEKYLL_ENV="production" bundle exec jekyll build --strict_front_matter --unpublished --future'
rescue StandardError => e
puts e
end
Expand Down

0 comments on commit ea4cead

Please sign in to comment.