mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2025-01-03 03:46:37 +03:00
initialize buck2 (without prelude)
This commit is contained in:
parent
cf1ed11277
commit
78e347aa29
14
.buckconfig
Normal file
14
.buckconfig
Normal file
@ -0,0 +1,14 @@
|
||||
[repositories]
|
||||
root = .
|
||||
prelude = prelude
|
||||
toolchains = toolchains
|
||||
none = none
|
||||
|
||||
[repository_aliases]
|
||||
config = prelude
|
||||
fbcode = none
|
||||
fbsource = none
|
||||
buck = none
|
||||
|
||||
[parser]
|
||||
target_platform_detector_spec = target:root//...->prelude//platforms:default
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -242,3 +242,4 @@ documentation.json
|
||||
|
||||
/_build
|
||||
/log
|
||||
/buck-out
|
||||
|
7
BUCK
Normal file
7
BUCK
Normal file
@ -0,0 +1,7 @@
|
||||
# A list of available rules and their signatures can be found here: https://buck2.build/docs/api/rules/
|
||||
|
||||
genrule(
|
||||
name = "hello_world",
|
||||
out = "out.txt",
|
||||
cmd = "echo BUILT BY BUCK2> $OUT",
|
||||
)
|
6
toolchains/BUCK
Normal file
6
toolchains/BUCK
Normal file
@ -0,0 +1,6 @@
|
||||
load("@prelude//toolchains:genrule.bzl", "system_genrule_toolchain")
|
||||
|
||||
system_genrule_toolchain(
|
||||
name = "genrule",
|
||||
visibility = ["PUBLIC"],
|
||||
)
|
Loading…
Reference in New Issue
Block a user