Skip to content

Commit

Permalink
api: update generator for Tarantool v3
Browse files Browse the repository at this point in the history
Updated generation of constants (and tests) for Tarantool `v3`.
Unfortunately, new generator does not support Tarantool
version < `v3`, due to some naming differences for enums.

Part of tarantool/go-tarantool#337
  • Loading branch information
DerekBum committed Oct 21, 2023
1 parent 7a98042 commit bc2f584
Show file tree
Hide file tree
Showing 19 changed files with 232 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

- run: make deps

- run: TT_TAG=2.11.0 make
- run: TT_TAG=master make

golangci-lint:
if: (github.event_name == 'push') ||
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Versioning](http://semver.org/spec/v2.0.0.html) except to the first release.
### Changed

### Fixed
- Constants are exported from Tarantool `v3` (#6).

## [0.1.0] - 2023-06-01

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ You can generate the code with commands:

```bash
TT_TAG=master make
TT_TAG=2.11.0 make
TT_TAG=3.0.0-alpha1 make
TT_TAG=master TT_REPO=https://github.com/my/tarantool.git make
```

Expand Down
4 changes: 2 additions & 2 deletions doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 25 additions & 5 deletions error.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 13 additions & 3 deletions error_string.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion error_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bc2f584

Please sign in to comment.