Skip to content

java-to-kotlin/book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

= Refactoring to Kotlin Book

== Getting Started

To set up the project directories, run:

----
./setup-project
----

This clones the worked example repo into `../refactoring-to-kotlin-code`.

== Working

To pull changes to both the book content and worked example code, run:

----
./pull
----

To retag the worked example history, if you've inserted commits into the history, run:

----
./retag-worked-example
----

To extract snippets from the example code into the Asciidoc text, run the IntelliJ build configuration named "refactoring-to-kotlin-book:text [build]"


To run tests, reimport code snippets, and build HTML and PDF versions of the book, run:

----
./build.sh
----

You can pass the `--fast` flag to skip running tests and reimporting code snippets.

You can pass the `pdf` argument to build just the PDF, or the `html` argument to build just the HTML.

E.g. to build the PDF without running tests etc.:

----
./build.sh --fast pdf
----

To run tests etc., and build just HTML, run:

----
./build.sh html
----

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •