[buck] check in buckversion files

Reviewed By: martinoluca

Differential Revision: D5498206

fbshipit-source-id: cec0043
master
Jules Villard 8 years ago committed by Facebook Github Bot
parent 46199bb806
commit 7c62be8609

@ -252,15 +252,14 @@ AC_SUBST([ENABLE_OCAML_BINANNOT])
# We use Buck to run the Infer tests # We use Buck to run the Infer tests
AC_MSG_CHECKING([which version of Buck to use]) AC_MSG_CHECKING([which .buckversion to use])
buckversion_file=.buckversion fb_buckversion_file=facebook/dependencies/dotbuckversion
oss_buck_version=c8c96ad4f2664c9636865e162513c530823f6d5b oss_buckversion_file=dotbuckversion
fb_buck_version=a5e9b874a2ee0607cefa87367577583e187a83a4
AS_IF([test x"$is_facebook_tree" = x"yes"], AS_IF([test x"$is_facebook_tree" = x"yes"],
[buck_version=$fb_buck_version], [buckversion_file="$fb_buckversion_file"],
[buck_version=$oss_buck_version]) [buckversion_file="$oss_buckversion_file"])
echo $buck_version > "$buckversion_file" cat "$buckversion_file" > ".buckversion"
AC_MSG_RESULT([$buck_version]) AC_MSG_RESULT([$buckversion_file])
AC_PATH_TOOL([GETCONF], [getconf], [no]) AC_PATH_TOOL([GETCONF], [getconf], [no])

@ -0,0 +1 @@
c8c96ad4f2664c9636865e162513c530823f6d5b
Loading…
Cancel
Save