4 ms·
> examples As it may be that people don't find them, the official ones are in `examples` https://github.com/facebook/buck2/tree/main/examples https://github.co
by ReleaseCandidat 2y ago
> examples
As it may be that people don't find them, the official ones are in `examples`
https://github.com/facebook/buck2/tree/main/examples https://github.com/facebook/buck2/tree/main/examples
language examples in `examples/with_prelude`
https://github.com/facebook/buck2/tree/main/examples/with_prelude https://github.com/facebook/buck2/tree/main/examples/with_pr...
There is a minmal Go example too: https://github.com/facebook/buck2/tree/main/examples/with_prelude/go/hello https://github.com/facebook/buck2/tree/main/examples/with_pr...
More "real world" examples are dtolnay's CXX for Rust and C++ interop:
https://github.com/dtolnay/cxx https://github.com/dtolnay/cxx
and my own ones (sorry to link these again, but I do not know of any others):
C++ with Vcpkg:
https://github.com/Release-Candidate/Cxx-Buck2-vcpkg-Examples https://github.com/Release-Candidate/Cxx-Buck2-vcpkg-Example...
C++ with Conan:
https://github.com/Release-Candidate/Cxx-Buck2-Conan-Examples https://github.com/Release-Candidate/Cxx-Buck2-Conan-Example...
OCaml:
https://github.com/Release-Candidate/OCaml-Buck-2-Examples https://github.com/Release-Candidate/OCaml-Buck-2-Examples