okasurya/buck


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

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.okasurya:buck:v2018.02.28.01'
	}
	dependencies {
		implementation("com.github.okasurya:buck:v2018.02.28.01")
	}
	<dependency>
	    <groupId>com.github.okasurya</groupId>
	    <artifactId>buck</artifactId>
	    <version>v2018.02.28.01</version>
	</dependency>

                            
    libraryDependencies += "com.github.okasurya" % "buck" % "v2018.02.28.01"
        
        

                            
    :dependencies [[com.github.okasurya/buck "v2018.02.28.01"]]
        
        

Readme


Buck

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

Build Status Build status

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