Skip to content

Commit

Permalink
Обновлены размеры колонок для списка участников
Browse files Browse the repository at this point in the history
  • Loading branch information
Morganov committed Feb 4, 2023
1 parent f85b4bd commit 8b2c75c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ namespace :book do

desc 'prepare necessary data to start build'
task :prebuild, [:column_size] do |t, args|
args.with_defaults(:column_size => 96)
args.with_defaults(:column_size => 72)

download_locale(locale_file)
generate_contributors_list(args.column_size)
end

desc 'build HTML format'
task :build_html do
Rake::Task['book:prebuild'].invoke(96)
Rake::Task['book:prebuild'].invoke(72)

puts 'Converting to HTML...'
`bundle exec asciidoctor #{params} -a data-uri progit.asc`
Expand All @@ -74,7 +74,7 @@ namespace :book do

desc 'build FB2 format'
task :build_fb2 do
Rake::Task['book:prebuild'].invoke(96)
Rake::Task['book:prebuild'].invoke(48)

puts 'Converting to FB2...'
`bundle exec asciidoctor-fb2 #{params} progit.asc`
Expand All @@ -83,7 +83,7 @@ namespace :book do

desc 'build Mobi format'
task :build_mobi do
Rake::Task['book:prebuild'].invoke(96)
Rake::Task['book:prebuild'].invoke(48)

puts 'Converting to Mobi (kf8)...'
`bundle exec asciidoctor-epub3 #{params} -a ebook-format=kf8 progit.asc`
Expand All @@ -92,7 +92,7 @@ namespace :book do

desc 'build PDF format'
task :build_pdf do
Rake::Task['book:prebuild'].invoke(88)
Rake::Task['book:prebuild'].invoke(72)

puts 'Converting to PDF... (this one takes a while)'
`bundle exec asciidoctor-pdf #{params} progit.asc 2>/dev/null`
Expand Down

0 comments on commit 8b2c75c

Please sign in to comment.