From 578d197dd6652225b46af090c0b46471dc887361 Mon Sep 17 00:00:00 2001 From: Lauren Bentley Date: Fri, 18 Jun 2021 12:19:40 -0700 Subject: [PATCH] remove .buckversion files from fbsource/xplat Summary: Buck has not relied on the .buckversion file for a while now. I am trying to clean up the number of configs at the root of the cell for buck. This diff attempts to remove .buckversion code referecnes from fbsource/xplat Instead of calling cat .buckversion to get the buckversion hash, you can call buck --fast-version which parses the buck-java11 file without downloading buck. Alternatively, you can also do something like cat .buck-java11 | grep -o -E -e "[0-9a-f]{40}" | head -1 to get the buckversion hash. Reviewed By: stepancheg Differential Revision: D28579639 fbshipit-source-id: 6231e16df41f3e403098576e4bfd5d5a2fd38a14 --- .gitignore | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 44f230edb4..35d9788a9a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,10 +5,7 @@ /.buckconfig.local /.buckd /gentest/test.html -.buckversion -.cxx -.idea -/local.properties +.buck-java11 # Jekyll /.sass-cache/