buck

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

Github星跟踪图

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
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

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.
  • 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

主要指标

概览
名称与所有者svgdotjs/svg.js
主编程语言JavaScript
编程语言Shell (语言数: 3)
平台
许可证Other
所有者活动
创建于2012-12-15 10:26:54
推送于2025-02-22 06:36:43
最后一次提交2025-02-22 07:36:43
发布数113
最新版本名称3.2.4 (发布于 2024-06-27 12:01:38)
第一版名称0.1 (发布于 )
用户参与
星数11.4k
关注者数270
派生数1.1k
提交数1.5k
已启用问题?
问题数1072
打开的问题数11
拉请求数155
打开的拉请求数2
关闭的拉请求数103
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?