Repository: mesos Updated Branches: refs/heads/master 2c888f199 -> 5b3d4a00d
Updated submitting-a-patch.md with bootstrap command. When developer is using git to clone the mesos source code and want to build & submit a patch, s/he needs to run ./bootstrap first to generate some files such as configure, .gitignore etc. But the document do not include such instructions. This patch is adding bootstrap to the guidelines. Review: https://reviews.apache.org/r/36472 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5b3d4a00 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5b3d4a00 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/5b3d4a00 Branch: refs/heads/master Commit: 5b3d4a00d92993c7db58f4c405e82b2b609c09d3 Parents: 2c888f1 Author: Guangya Liu <[email protected]> Authored: Mon Aug 3 20:04:45 2015 -0700 Committer: Adam B <[email protected]> Committed: Mon Aug 3 20:05:46 2015 -0700 ---------------------------------------------------------------------- docs/submitting-a-patch.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/5b3d4a00/docs/submitting-a-patch.md ---------------------------------------------------------------------- diff --git a/docs/submitting-a-patch.md b/docs/submitting-a-patch.md index 0221fe3..754a16f 100644 --- a/docs/submitting-a-patch.md +++ b/docs/submitting-a-patch.md @@ -27,7 +27,8 @@ layout: documentation 7. Make your changes to the code (using whatever IDE/editor you choose) to actually fix the bug or implement the feature. 1. Before beginning, please read the [Mesos C++ Style Guide](mesos-c++-style-guide.md). It is recommended to use the git pre-commit hook (`support/hooks/pre-commit`) to automatically check for style errors. See the hook script for instructions to enable it. 2. Most of your changes will probably be to files inside of `BASE_MESOS_DIR` - 3. To build, we recommend that you don't build inside of the src directory. We recommend you do the following: + 3. From inside of the root Mesos directory: `./bootstrap` (Only required if building from git repository). + 4. To build, we recommend that you don't build inside of the src directory. We recommend you do the following: 1. From inside of the root Mesos directory: `mkdir build && cd build` 2. `../configure` 3. `make`
