From aba9949114ae0f2f7f0415d240ce60c60bba87d8 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 20 Jul 2016 13:32:01 -0400 Subject: [PATCH 1/2] Added Asciidoctor EPub3 conversion file. --- .gitignore | 2 ++ README.md | 12 ++++++++++++ testing-erlang.adoc | 27 +++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 testing-erlang.adoc diff --git a/.gitignore b/.gitignore index dd6402a..3d8a1e0 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ dump.rdb *_mock.js *beam *~ +output/* + diff --git a/README.md b/README.md index 771d3f0..2de5e75 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,18 @@ To build this on Linux install the asciidoc package (via yum or apt-get) make a html directory and run the build.sh script this will turn everything into HTML +## To Build as an EPub3 + +It is possible to convert the document to the EPub3 format. To do that you will need the [AsciiDoctor](http://asciidoctor.org/) and [Asciidoctor-EPUB3](https://github.com/asciidoctor/asciidoctor-epub3) Ruby gems. + +Here's how: + + $> gem install asciidoctor + $> NOKOGIRI_USE_SYSTEM_LIBRARIES=1 gem install asciidoctor-epub3 --pre + $> gem install coderay + $> asciidoctor-epub3 -D output testing-erlang.adoc + + ## Chapters * [Preface](https://github.com/zkessin/testing-erlang-book/blob/master/00_preface.asciidoc) diff --git a/testing-erlang.adoc b/testing-erlang.adoc new file mode 100644 index 0000000..7b3b415 --- /dev/null +++ b/testing-erlang.adoc @@ -0,0 +1,27 @@ += Testing Erlang + +Zachary Kessin +v0.1, 2016-07-20 +:doctype: book +:producer: Asciidoctor +:keywords: Erlang, QuickCheck, EUnit, Testing +:copyright: CC-BY-SA 3.0 +:imagesdir: images + +include::00_preface.asciidoc[Preface] +include::01_rebar.asciidoc[Building With Rebar] +include::02_eunit.asciidoc[Eunit] +include::03_common_test.asciidoc[Common Test] +include::04_dialyzer.asciidoc[Dialyzer] +include::05_proper.asciidoc[Proper] +include::06_quick_check.asciidoc[Quick Check] +include::07_testing_a_fsm.asciidoc[Testing a FSM With Properties] +include::08_wrangler.asciidoc[Wrangler] +include::09_concuerror.asciidoc[Concerrer] +include::10_ci.asciidoc[Contious Integration] +include::11_best_practices.asciidoc[Best Practice] + + + + + From b96b4bea9487e905d5cc2dfed07d15680c6ba38d Mon Sep 17 00:00:00 2001 From: Christoph Date: Sat, 25 Jul 2020 11:47:16 -0400 Subject: [PATCH 2/2] Cleaned up readme --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2de5e75..e4eee68 100644 --- a/README.md +++ b/README.md @@ -88,12 +88,12 @@ turn everything into HTML It is possible to convert the document to the EPub3 format. To do that you will need the [AsciiDoctor](http://asciidoctor.org/) and [Asciidoctor-EPUB3](https://github.com/asciidoctor/asciidoctor-epub3) Ruby gems. Here's how: - - $> gem install asciidoctor - $> NOKOGIRI_USE_SYSTEM_LIBRARIES=1 gem install asciidoctor-epub3 --pre - $> gem install coderay - $> asciidoctor-epub3 -D output testing-erlang.adoc - +``` +$> gem install asciidoctor +$> NOKOGIRI_USE_SYSTEM_LIBRARIES=1 gem install asciidoctor-epub3 --pre +$> gem install coderay +$> asciidoctor-epub3 -D output testing-erlang.adoc +``` ## Chapters