mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-06 19:07:50 +00:00
Document Makefile
This commit is contained in:
parent
96e2ef534f
commit
e601d694c0
2 changed files with 74 additions and 0 deletions
|
|
@ -66,6 +66,72 @@ If you want to help but you aren't sure where to start, check out our [github la
|
|||
git remote add upstream git@github.com:pilosa/pilosa.git
|
||||
```
|
||||
|
||||
### Makefile
|
||||
|
||||
Pilosa includes a Makefile that automates several tasks:
|
||||
|
||||
- Install Pilosa:
|
||||
|
||||
```sh
|
||||
make install
|
||||
```
|
||||
|
||||
- Create the vendor directory:
|
||||
|
||||
```sh
|
||||
make vendor
|
||||
```
|
||||
|
||||
- Run the test suite:
|
||||
|
||||
```sh
|
||||
make test
|
||||
```
|
||||
|
||||
- View the coverage report:
|
||||
|
||||
```sh
|
||||
make cover-viz
|
||||
```
|
||||
|
||||
- Clear the `vendor/` and `build/` directories:
|
||||
|
||||
```sh
|
||||
make clean
|
||||
```
|
||||
|
||||
- Create release tarballs:
|
||||
|
||||
```sh
|
||||
make release
|
||||
```
|
||||
|
||||
- Generate static assets for the WebUI:
|
||||
|
||||
```sh
|
||||
make generate-statik
|
||||
```
|
||||
|
||||
- Regenerate protocol buffer files in `internal/`:
|
||||
|
||||
```sh
|
||||
make generate-protoc
|
||||
```
|
||||
|
||||
- Create tagged Docker image:
|
||||
|
||||
```sh
|
||||
make docker
|
||||
```
|
||||
|
||||
- Run tests inside Docker container:
|
||||
|
||||
```sh
|
||||
make docker-test
|
||||
```
|
||||
|
||||
Additional commands are available in the `Makefile`.
|
||||
|
||||
### Submitting code changes
|
||||
|
||||
- Before starting to work on a task, sync your branch with the upstream:
|
||||
|
|
|
|||
|
|
@ -134,6 +134,10 @@ There are four ways to install Pilosa on MacOS: Use [Homebrew](https://brew.sh/)
|
|||
|
||||
#### Build from Source
|
||||
|
||||
<div class="note">
|
||||
<p>For advanced instructions for building from source, view our <a href="https://github.com/pilosa/pilosa/blob/master/CONTRIBUTING.md">Contributor's Guide.</a></p>
|
||||
</div>
|
||||
|
||||
1. Install the prerequisites:
|
||||
|
||||
* [Go](https://golang.org/doc/install). Be sure to set the `$GOPATH` and `$PATH` environment variables as described [here](https://golang.org/doc/code.html#GOPATH).
|
||||
|
|
@ -288,6 +292,10 @@ There are three ways to install Pilosa on Linux: download the binary (recommende
|
|||
|
||||
#### Build from Source
|
||||
|
||||
<div class="note">
|
||||
<p>For advanced instructions for building from source, view our <a href="https://github.com/pilosa/pilosa/blob/master/CONTRIBUTING.md">Contributor's Guide.</a></p>
|
||||
</div>
|
||||
|
||||
1. Install the prerequisites:
|
||||
|
||||
* [Go](https://golang.org/doc/install). Be sure to set the `$GOPATH` and `$PATH` environment variables as described [here](https://golang.org/doc/code.html#GOPATH).
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue