1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-18 11:11:34 +03:00
vimr/DEVELOP.md
2022-06-30 21:28:45 +02:00

49 lines
1.4 KiB
Markdown

## How to develop
To build NvimServer, do the following
```bash
build_libnvim=true clean=false ./bin/build_nvimserver_for_local_dev.sh
```
You can set `clean=true` if you want to clean the existing build.
You can also use a watch script as follows (it uses `entr`):
```bash
clean_initial_build=true ./bin/watch_nvimserver_and_build
```
When `clean_initial_build` is `true`, the script will clean and build,
then continuously invoke the `build_nvimserver_for_local_dev` script.
## How to build nightly
```bash
git tag -f neovim-nightly; git push -f origin neovim-nightly
```
Then, GitHub actions will build and re-create the release.
## How to release
* Set a new version of VimR via
```bash
is_snapshot=true ./bin/set_new_versions.sh # for snapshot or
is_snapshot=false marketing_version=0.38.3 ./bin/set_new_versions.sh # for release
```
and commit. This will create a `${bundle_version}-snapshot/release.sh` file to be used
with `build_release.sh` and `release-notes.temp.md` for release notes.
* Tag with the name
- Snapshot: `snapshot/yyyymmdd.HHMMSS`
- Release: `vX.Y.Z-yyyymmdd.HHMMSS`
* Push
* Add release notes to `release-notes.temp.md`.
* Build, package and upload via
```bash
create_gh_release=true upload=true update_appcast=true \
release_spec_file=....sh \
./bin/build_release.sh
```
* The `appcast{-snapshot}.xml` file is modified. Check and push.