Private
Public Access
2
0

README.md: fix readme style

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-04-30 11:39:19 +01:00
parent 9e3e322fff
commit 7a6a0036b4

View File

@@ -16,23 +16,22 @@ The intent is to make it easier for developers and sensor manufacturers to map
their sensors & actuators on top of supported hardware and to allow control of their sensors & actuators on top of supported hardware and to allow control of
low level communication protocol by high level languages & constructs. low level communication protocol by high level languages & constructs.
=== ENV RECOMENDATIONS === ### ENV RECOMENDATIONS
--------------
node.js 0.10.26 1. node.js 0.10.26
python 3.3.x or 2.7.x 2. python 3.3.x or 2.7.x
swig-v8 3.0.1 (if you want node.js to work you need to use swig-v8) 3. swig-v8 3.0.1
I'm using f31c1dce7a45c4b8ed7e6ff845f4c74539e056f1 from 4. doxygen 1.8.7
http://github.com:oliver----/swig-v8
=== COMPILING === To install swig-v8 the swig-v8-git package from AUR is helpful
--------------
NOTE: The only supported cmake build configuration is to have the build/ dir ## COMPILING
NOTE: The **only** supported cmake build configuration is to have the build/ dir
inside of the repo/tarball. inside of the repo/tarball.
if swig-v8 is not in your default path you can try run cmake with *if swig-v8 is not in your default path you can try run cmake with
"-DCMAKE_PREFIX_PATH="/path/to/swig-v8" "-DCMAKE_PREFIX_PATH="/path/to/swig-v8"*
mkdir build/ mkdir build/
cmake .. cmake ..
@@ -41,19 +40,17 @@ make
Install is currently unsuported. Javascript and python modules will be in Install is currently unsuported. Javascript and python modules will be in
build/src/{javascript, python} build/src/{javascript, python}
=== DEVELOPMENT === ## DEVELOPMENT
--------------
Unit tests for all features must be completed prior to implementations, please Please fork the code on github and then send pull requests. Please avoid merges
run `ctest -V` from the build dir in order to see current implementation status in your forks. I will also accept patches sent in git style with signoffs to
brendan.le.foll@intel.com
=== USING === ## USING
--------------
see examples/ see examples/
for node.js make sure that maajs.node is in the current dir and set export *for node.js make sure that maajs.node is in the current dir and set export
NODE_PATH=. NODE_PATH=.*
python2/3 should both work, although testing is done on python3 exclusively. Python html documentation can be generated with **make pydoc**
Node.js bindings may be dodgy, I'm so far unclear of how good swig-v8 is.