Skip to content

Commit

Permalink
Create batch file to call buck2.py
Browse files Browse the repository at this point in the history
Summary: TSIA, so that we can call `.\buck2` from CLI on Windows, otherwise we have to do `fbpython buck2.py`. Just a utility script.

Reviewed By: jrodal98

Differential Revision: D66401867

fbshipit-source-id: 4cb82eef3b2535a703a7a20850383e1fda529cb5
  • Loading branch information
Luis Regino Hernández authored and facebook-github-bot committed Nov 26, 2024
1 parent 00f4532 commit dd7c0f7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions buck2.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@REM Copyright (c) Meta Platforms, Inc. and affiliates.
@REM
@REM This source code is licensed under both the MIT license found in the
@REM LICENSE-MIT file in the root directory of this source tree and the Apache
@REM License, Version 2.0 found in the LICENSE-APACHE file in the root directory
@REM of this source tree.

@echo off
fbpython "%~dp0buck2.py" %*

0 comments on commit dd7c0f7

Please sign in to comment.