Skip to content

bruce/twirp_prototool_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twirp + Prototool Example

This repository provides a simple example of Twirp code generation for Go/Ruby/JS using prototool.

Installing it

Clone it:

$ git clone https://github.com/bruce/twirp_prototool_example

Make sure you have a recent version of Go (see .tool-versions).

Run the bootstrap task to install dependencies:

$ make bootstrap

Running it

Lint protobuf files in proto/:

$ make lint

Format protobuf files in proto/:

$ make format

Generate Go/Ruby/JS code in gen/ from protobuf files in proto/

$ make generate

Clean out generated files from gen/:

$ make clean

Remove project dependencies:

$ make sanitize

About

Example Twirp + Prototool project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published