commit | 72799d78240d9c1aa965f2ee2a7470c75d76b04f | [log] [tgz] |
---|---|---|
author | Vitaly Buka <vitalybuka@google.com> | Tue Jan 12 13:35:42 2016 -0800 |
committer | Vitaly Buka <vitalybuka@google.com> | Tue Jan 12 22:37:57 2016 +0000 |
tree | 9af2e140abcf3dd05578f837f36d6de5397bf637 | |
parent | b0ee6705ee2c162399789ede52c40fbd371d74a4 [diff] |
Fix path in documentation. Change-Id: I72ad0de1a8a35050456bca0d891cf388f4fdadfe Reviewed-on: https://weave-review.googlesource.com/2184 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
libWeave is the library with device side implementation of Weave protocol.
Sources are located in git repository at https://weave.googlesource.com/weave/libweave/
Make sure you have a bin/ directory in your home directory and that it is included in your path:
mkdir ~/bin PATH=~/bin:$PATH
Download the Repo tool and ensure that it is executable:
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo
repo init -u https://weave.googlesource.com/weave/manifest repo sync
Path | Description |
---|---|
include/ | Includes to be used by device code |
src/ | Implementation sources |
examples/ | Example of device code |
third_party/ | Dependencies |
*.gyp* files | Build files |
examples/prerequisites.sh
examples/build.sh
sudo out/Debug/weave_daemon
gyp -I libweave_common.gypi --toplevel-dir=. --depth=. \ -f make libweave_standalone.gyp
make
make libweave
out/Debug/libweave_testrunner out/Debug/libweave_exports_testrunner
Make sure to have correct user in local or global config e.g.:
git config --local user.name "User Name" git config --local user.email user.name@example.com
repo start <branch name> .
git commit -a -v
repo upload .
Go to the url from the output of “repo upload” and add reviewers.