mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	BUCK is the filename for the build files of the Facebook Buck build system. BUCK files are valid Python files. Eg.: https://github.com/GerritCodeReview/gerrit/blob/master/BUCK Also add a missing sample for Pants / Bazel BUILD files. They are also valid Python files.
		
			
				
	
	
		
			46 lines
		
	
	
		
			890 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			890 B
		
	
	
	
		
			Python
		
	
	
	
	
	
package(default_visibility = ["//scripts/release:__pkg__"])
 | 
						|
 | 
						|
filegroup(
 | 
						|
    name = "git",
 | 
						|
    srcs = glob([".git/**"]),
 | 
						|
)
 | 
						|
 | 
						|
filegroup(
 | 
						|
    name = "dummy",
 | 
						|
    visibility = ["//visibility:public"],
 | 
						|
)
 | 
						|
 | 
						|
filegroup(
 | 
						|
    name = "srcs",
 | 
						|
    srcs = glob(
 | 
						|
        ["**"],
 | 
						|
        exclude = [
 | 
						|
            "bazel-*/**",
 | 
						|
            "output/**",
 | 
						|
            ".*/**",
 | 
						|
        ],
 | 
						|
    ) + [
 | 
						|
        "//examples:srcs",
 | 
						|
        "//scripts:srcs",
 | 
						|
        "//site:srcs",
 | 
						|
        "//src:srcs",
 | 
						|
        "//tools:srcs",
 | 
						|
        "//third_party:srcs",
 | 
						|
    ],
 | 
						|
    visibility = ["//visibility:private"],
 | 
						|
)
 | 
						|
 | 
						|
load("//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
 | 
						|
 | 
						|
pkg_tar(
 | 
						|
    name = "bazel-srcs",
 | 
						|
    files = [":srcs"],
 | 
						|
    strip_prefix = ".",
 | 
						|
    # Public but bazel-only visibility.
 | 
						|
    visibility = ["//:__subpackages__"],
 | 
						|
)
 | 
						|
 | 
						|
load("//tools/build_rules/go:def.bzl", "go_prefix")
 | 
						|
 | 
						|
go_prefix("github.com/bazelbuild/bazel")
 |