mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* Generated a bunch of clients. * Builds go client. * Removed test line. * Changed dependencies to fnproject/fn_go * Fix tests.
26 lines
528 B
Markdown
26 lines
528 B
Markdown
`build.rb` will generate all clients for all Swagger supported languages.
|
|
|
|
## Building and Deploying Clients
|
|
|
|
### First Time
|
|
|
|
If this is your first time building the clients, you'll need to do the following:
|
|
|
|
```sh
|
|
bundle install
|
|
```
|
|
|
|
### Every Time
|
|
|
|
Everytime the API spec is updated, be sure to bump the version number in `swagger.yml`, then run:
|
|
|
|
```sh
|
|
ruby build.rb
|
|
```
|
|
|
|
Boom. That's it.
|
|
|
|
## Troubleshooting
|
|
|
|
Sometimes this will fail due to github caching or something and versions will be off. Just bump version and retry.
|