I've created a gem called 
code2pdf,
which is a simple and open-source tool to convert your codebase to a PDF file.
It might be especially useful in case you need to register you software.
 
In order to install it, just run:
Then, open a terminal and run:
bashcode2pdf [project path] [blacklist file]
 
The blacklist file is optional and must be a YML file, similar to the following:
yaml:directories:
  - .git
  - log
  - public/system
  - spec
  - tmp
  - vendor
:files:
  - .DS_Store
  - .gitignore
  - database.yml
  - favicon.ico
 
Please, let me know in the comments if you like it :)
Post atualizado em 02/10/2017, 10:00:00
💬 Comentários desativados temporariamente. Desculpe pelo inconveniente.