Gate dispatched GitHub CLI mutations
This commit is contained in:
parent
d93267eb47
commit
01bc5558af
10 changed files with 423 additions and 28 deletions
18
tools/git-gate/git.cmd
Normal file
18
tools/git-gate/git.cmd
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
@echo off
|
||||
setlocal
|
||||
|
||||
set "REAL_GIT=%BIFROST_REAL_GIT%"
|
||||
if not defined REAL_GIT (
|
||||
echo Bifrost Git gate has no real git executable configured.>&2
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
set "NODE_EXE=%BIFROST_NODE_EXECUTABLE%"
|
||||
if not defined NODE_EXE (
|
||||
echo Bifrost Git gate has no Node executable configured.>&2
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
set "NODE_SCRIPT=%~dp0git-proxy.mjs"
|
||||
"%NODE_EXE%" "%NODE_SCRIPT%" %*
|
||||
exit /b %ERRORLEVEL%
|
||||
Loading…
Reference in a new issue