facebook / buck

A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.
https://buck.build
Apache License 2.0
8.56k stars 1.16k forks source link

Add support for Python #source-db internal flavor #2699

Closed bigfootjon closed 1 year ago

bigfootjon commented 2 years ago

This adds support for running pyre in buck mode.

See the cherry-picked commit messages in this PR for more information.

Test plan:

ant
bin/buck build //programs:gen_buck_info#source-db
alias buck=`realpath bin/buck`
cd $personal_project
buck build $personal_target#source-db
buck run $personal_target -- --help
pyre

All of the above exit 0!