buck

General

Category
Free
Tag
Build Systems
License
Apache License, Version 2.0
Registered
Jul 5, 2014
Favorites
1
Link
http://facebook.github.io/buck
See also
sbt
Apache Ant
Gradle
Bazel
android-cmake

Additional

Language
Java
Version
v2018.02.16.01 (Feb 16, 2018)
Created
Apr 17, 2013
Updated
Feb 19, 2018
Owner
Facebook (facebook)
Contributors
Vladislav Bauer (vbauer)
Artem Zinnatullin :slowpoke: (artem-zinnatullin)
dpursehouse
Kevin Schultz (krschultz)
Gautam Korlam (kageiit)
rratmansky
asm89
KapJI
sschuberth
grp
jamesgpearce
sriramramani
Eric Butler (codebutler)
Zac Sweers (hzsweers)
runningcode
zbsz
shs96c
jbarr21
Show all (304)304
Activity
Badge
Generate
Download
Source code

Blurb

Buck

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

Installation

First, clone the Buck repository:

git clone https://github.com/facebook/buck.git
cd buck

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

1. Bootstrap Buck with ant
git clone 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. Every subsequent request will just serve the built artifact directly. This functionality is available for any forks of buck as well, so one can fetch https://jitpack.io/com/github/<github-user-or-org>/buck/<sha>/buck-<sha>.pex

License

Apache License 2.0