aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2017-12-05 19:27:09 +0200
committerOskari Timperi <oskari.timperi@iki.fi>2017-12-05 19:27:09 +0200
commit7ee6dfc00d26bd41b334386115dd2a58cfd80aab (patch)
treefb4d6ae992a7b683d6b938ae205104b1279595d4 /README.md
downloadnim-gumbo-parser-7ee6dfc00d26bd41b334386115dd2a58cfd80aab.tar.gz
nim-gumbo-parser-7ee6dfc00d26bd41b334386115dd2a58cfd80aab.zip
Initial commitHEADmaster
Diffstat (limited to 'README.md')
-rw-r--r--README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a5d0d9b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,29 @@
+# gumbo_parser
+
+A wrapper for the gumbo html5 parser library.
+
+# Build
+
+Before installing the library, you need to build the static library yourself.
+This is due to current limitations in nimble. Building has been mostly automated
+and can be achieved with the following command:
+
+ $ nimble buildlib
+
+This will compile and link gumbo as a static library and place it in
+`gumbo_parser` directory.
+
+If you need to regenerate the wrapper, you can issue the following command which
+will use c2nim to do most of the work:
+
+ $ nimble generatebinding
+
+This will place the generated `gumbo.nim` file in the `gumbo_parser` directory.
+
+# Install
+
+Make sure you have read the *build* section above.
+
+After building, you can install the library using nimble:
+
+ $ nimble install