Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorDmitry Kunin <dkunin@mapswith.me>2013-06-12 20:02:30 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:57:28 +0300
commitd514a2ac9ffd8ad456974155ae6d1faab173ba34 (patch)
tree5d4517a1167f772fb07b10519e3b55fc7438bca6 /api
parent4857533099556abe54cc6a75f2fe7bc2c24aab14 (diff)
[android, tools] Small script to convert .md to .html and open result in browser.
Suitable for "write-and-check" approach.
Diffstat (limited to 'api')
-rwxr-xr-xapi/android/readme_to_html.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/api/android/readme_to_html.sh b/api/android/readme_to_html.sh
new file mode 100755
index 0000000000..8754fc4357
--- /dev/null
+++ b/api/android/readme_to_html.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+set -e -u -x
+
+## This script converts .md file to .html and opens it in browser.
+## Please install next gems to use it:
+## gem install redcarpet
+## gem install github-markup
+
+github-markup README.md > README.html
+open README.html \ No newline at end of file