31 lines
690 B
Markdown
31 lines
690 B
Markdown
# Development
|
|
|
|
## How to build C++ Library
|
|
|
|
### Prerequisites
|
|
|
|
- CMake 3.22+
|
|
- C++17 compiler
|
|
|
|
### Build
|
|
|
|
```bash
|
|
cd openarm_can
|
|
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
|
|
cmake --build build
|
|
sudo cmake --install build
|
|
```
|
|
|
|
## How to release
|
|
|
|
```bash
|
|
export LAUNCHPAD_UPLOADER_PGP_KEY=YOUR_PGP_KEY # e.g. export LAUNCHPAD_UPLOADER_PGP_KEY=08D3564B7C6A9CAFBFF6A66791D18FCF079F8007
|
|
git clone https://github.com/apache/arrow.git
|
|
export APACHE_ARROW_REPOSITORY=${PWD}/arrow
|
|
git clone https://github.com/groonga/groonga.git
|
|
export GROONGA_REPOSITORY=${PWD}/groonga
|
|
git clone git@github.com:enactic/openarm_can.git
|
|
cd openarm_can
|
|
rake release NEW_VERSION=X.Y.Z # e.g. rake release 1.0.0
|
|
```
|