-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure you can easily find the dev docs Signed-off-by: Tim Smith <[email protected]>
- Loading branch information
Showing
2 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
# Development | ||
|
||
## Prerequisites | ||
## Building | ||
|
||
### Prerequisites | ||
|
||
Before building from source, be sure to install: | ||
|
||
- [Go 1.19.0+](https://golang.org/dl/) | ||
- [Protocol Buffers v21+](https://github.com/protocolbuffers/protobuf/releases) | ||
- | ||
|
||
On macOS systems with Homebrew, run: `brew install [email protected] protobuf` | ||
|
||
## Installation from source | ||
|
@@ -34,7 +36,7 @@ If `go` is not installed or an older version exists, follow instructions on [the | |
make cnquery/install | ||
``` | ||
|
||
## Develop cnquery, provider or resources | ||
### Develop cnquery, provider or resources | ||
|
||
Whenever you change resources, providers, or protos, you must generate files for the compiler. To do this, make sure you have the necessary tools installed (such as protobuf): | ||
|
||
|
@@ -48,4 +50,14 @@ Then, whenever you make changes, just run: | |
make cnquery/generate | ||
``` | ||
|
||
This generates and updates all required files for the build. At this point you can `make cnquery/install` again as outlined above. | ||
This generates and updates all required files for the build. At this point you can `make cnquery/install` again as outlined above. | ||
|
||
## Contributing | ||
|
||
### Marking PRs with Emojis | ||
|
||
We love emojis in our commits. These are their meanings: | ||
|
||
🛑 breaking 🐛 bugfix 🧹 cleanup/internals 📄 docs | ||
✨⭐🌟🎉 smaller or larger features 🐎 race condition | ||
🌙 MQL 🌈 visual 🍏 fix tests 🎫 auth 🦅 falcon 🐳 container |