GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - meta/buck: A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.

This repository was archived by the owner on Nov 10, 2023. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

22,696 Commits
22,696 Commits

Folders and files

NameName
Last commit message
Last commit date
.circleci
.circleci
 
 
.idea
.idea
 
 
android
android
 
 
assets/android
assets/android
 
 
bin
bin
 
 
config
config
 
 
docs
docs
 
 
pmd
pmd
 
 
programs
programs
 
 
py
py
 
 
python-dsl
python-dsl
 
 
scripts
scripts
 
 
src-gen
src-gen
 
 
src/com/facebook/buck
src/com/facebook/buck
 
 
test/com/facebook/buck
test/com/facebook/buck
 
 
third-party
third-party
 
 
tools
tools
 
 
.buck-eden-bindmounts
.buck-eden-bindmounts
 
 
.buckconfig
.buckconfig
 
 
.buckjavaargs
.buckjavaargs
 
 
.buckrelease
.buckrelease
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.inferconfig
.inferconfig
 
 
BUCK
BUCK
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
buck-parser-py.iml
buck-parser-py.iml
 
 
buck.iml
buck.iml
 
 
build.xml
build.xml
 
 
jitpack.yml
jitpack.yml
 
 
windows_cxx_support.txt
windows_cxx_support.txt
 
 
windows_failures.txt
windows_failures.txt
 
 

Repository files navigation

Use Buck2

This repo is dead.

Please see https://github.com/facebook/buck2 for the build system that replaces it.

Old content continues below for historical purposes.


 

 

 

Buck

Buck is a build tool. To see what Buck can do for you, check out the documentation at http://buck.build/.

Build Status

Installation

Since Buck is used to build Buck, the initial build process involves 2 phases:

1. Clone the Buck repository and bootstrap it with ant:
git clone --depth 1 https://github.com/facebook/buck.git
cd buck
ant

You must be using Java 8 or 11 for this to compile successfully. If you see compilation errors from ant, check your JAVA_HOME is pointing at one of these versions.

2. Use bootstrapped version of Buck to build Buck:
./bin/buck build --show-output buck
# output will contain something like
# //programs:buck buck-out/gen/programs/buck.pex
buck-out/gen/programs/buck.pex --help
Prebuilt buck binaries

Pre-built binaries of buck for any buck sha can be downloaded from https://jitpack.io/com/github/facebook/buck/<sha>/buck-<sha>.pex. The very first time a version of buck is requested, it is built via jitpack. As a result, it could take a few minutes for this initial binary to become available. Every subsequent request will just serve the built artifact directly. This functionality is available for any fork of buck as well, so you can fetch https://jitpack.io/com/github/<github-user-or-org>/buck/<sha>/buck-<sha>.pex

For buck binaries built for JDK 11, modify end of the url to buck-<sha>-java11.pex.

Feature Deprecation

Buck tries to move fast with respect to its internals. However, for user facing features (build rules, command line interface, etc), the Buck team tries to have a graceful deprecation process. Note that this generally applies only to documented functionality, or functionality that is less documented, but appears to be in wide use. That process is:

  • An issue is opened on Github suggesting what will be deprecated, and when it will be removed. For larger features that are deprecated, there may be a period when the default is the new setting, and the old behavior may only be used with a configuration change.
    • In-progress deprecation issues are tagged with 'announcement' and 'deprecation'
  • A change is submitted to Buck that puts the old behavior behind a configuration flag and sets the default to the old behavior. These flags can be found at https://buck.build/concept/buckconfig.html#incompatible.
  • For larger features, a change eventually is put in place that sets the default to the new behavior. e.g. when Skylark becomes the default build file parser.
  • When the removal date is reached, a change is submitted to remove the feature. At this point, the configuration value will still parse, but will not be used by Buck internally.

License

Apache License 2.0

About

A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.

buck.build

Topics

androidbuckbuild-tooliosjavapython

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

8.5k stars

Watchers

10 watching

Forks

1.1k forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.