-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from tweag/cb/remove-ps1-wrapper
Call bash wrapper on Windows
- Loading branch information
Showing
7 changed files
with
47 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
@pwsh -File "%~dp0bazel_wrapper.ps1" %* | ||
@echo off | ||
|
||
:: Check if bash is available | ||
where bash >nul 2>nul | ||
if errorlevel 1 ( | ||
echo Bash is not installed or not in PATH. Please install WSL or add bash to PATH. | ||
exit /b 1 | ||
) | ||
|
||
# disable POSIX-to-Windows path conversion for MINGW / MSYS2 | ||
set MSYS_NO_PATHCONV=1 | ||
|
||
:: Call the Bash wrapper | ||
bash --noprofile --norc -o errexit -o nounset -o pipefail "%~dp0bazel" %* | ||
|
This file was deleted.
Oops, something went wrong.