docs: update documentation mistakes
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -62,7 +62,6 @@ coverity-submit for your OS.
|
|||||||
~~~~~~~~~~~~~{.sh}
|
~~~~~~~~~~~~~{.sh}
|
||||||
mkdir covbuild/ && cd covbuild
|
mkdir covbuild/ && cd covbuild
|
||||||
cmake -DBUILDDOC=OFF -DBUILDSWIG=OFF ..
|
cmake -DBUILDDOC=OFF -DBUILDSWIG=OFF ..
|
||||||
cmake -DBUILDDOC=OFF -DBUILDSWIG=OFF ..
|
|
||||||
cov-build --dir cov-int make
|
cov-build --dir cov-int make
|
||||||
tar caf mraa.tar..bz2 cov-int
|
tar caf mraa.tar.bz2 cov-int
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
|||||||
10
docs/npm.md
10
docs/npm.md
@@ -15,13 +15,17 @@ we have generated for you.
|
|||||||
Recreating tarball
|
Recreating tarball
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
From a checkout of mraa you can do the following to 'generate' this tarball
|
From a checkout of mraa you can do the following to 'generate' this tarball.
|
||||||
|
It's important to not leave a .git directory as npm will then consider the
|
||||||
|
tarball contains a full git tree. Also you need a top level dir which matches
|
||||||
|
the npm pkg name so we create one with a symlink and add the 'h' flag to tar to
|
||||||
|
follow simlinks.
|
||||||
|
|
||||||
~~~~~~~~~~~~~{.sh}
|
~~~~~~~~~~~~~{.sh}
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DBUILDSWIGNODE=ON ..
|
cmake -DBUILDSWIGNODE=ON ..
|
||||||
make npmpkg
|
make npmpkg
|
||||||
cd ../
|
ln -s ../ mraa
|
||||||
tar czv --exclude='build/*' --exclude='.git/*' -f /tmp/mraa.tar.gz .
|
tar hczv --exclude='build*' --exclude='.gitignore' --exclude='.git' --exclude='build*/*' --exclude='.git/*' -f mraa.tar.gz mraa
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
|||||||
Reference in New Issue
Block a user