Coder Social home page Coder Social logo

gizlang / pants-example-codegen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sarvex/pants-example-codegen

0.0 0.0 0.0 52 KB

An example repository to demonstrate codegen support in Pants.

License: Apache License 2.0

Python 46.12% Go 14.73% Thrift 18.27% Starlark 20.87%

pants-example-codegen's Introduction

example-codegen

An example repository to demonstrate codegen support in Pants.

You run Pants goals using the pants launcher binary, which will bootstrap the version of Pants configured for this repo if necessary.

See here for how to install the pants binary.

Refer to these docs for more information:

Some commands you can try out:

  • pants export-codegen :: - see the generated files.
    • This isn't necessary for Pants to use the generated files, but can be useful when debugging or to generate files for IDEs.
  • pants test :: - run all tests
  • pants fmt :: - format Protobuf with buf
  • pants lint :: - lint Protobuf with buf
  • pants dependencies <path/to/file> - see what depends on what

Check out our other example repositories to see other features like packaging binaries.

Note: to try out Go, you must comment out pants_ignore in pants.toml. This is so that non-Go users do not need to have Go installed to run the project.

pants-example-codegen's People

Contributors

eric-arellano avatar benjyw avatar tdyas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.