Skip to content

Commit a0e3e1d

Browse files
authored
Merge pull request #788 from aollier/architecture
New architecture of the repository for manual building of the book.
2 parents f292a0f + d2152ec commit a0e3e1d

File tree

196 files changed

+2
-18
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+2
-18
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ progit.pdfmarks
99
progit.epub
1010
progit-kf8.epub
1111
progit.mobi
12-
/images/

README.asc

Lines changed: 1 addition & 8 deletions

Rakefile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
namespace :book do
2-
desc 'prepare build'
3-
task :prebuild do
4-
Dir.mkdir 'images' unless Dir.exists? 'images'
5-
Dir.glob("book/*/images/*").each do |image|
6-
FileUtils.copy(image, "images/" + File.basename(image))
7-
end
8-
end
9-
102
desc 'build basic book formats'
11-
task :build => :prebuild do
3+
task :build do
124
puts "Converting to HTML..."
135
`bundle exec asciidoctor progit.asc`
146
puts " -- HTML output at progit.html"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)