Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
#!/bin/bash
for exe in `find source/packages -type d | sort -r | grep "Bottles\.Tools" | sed -n 1p | xargs grep -rl "BottleRunner\.exe" | sed -n 1p`;
do
$exe $@;
done
@ECHO OFF
SETLOCAL
REM Find BottleRunner in one of the installed Bottles nuget packages
FOR /R %~dp0\source\packages %%G IN (BottleRunner.exe) DO (
IF EXIST %%G (
SET RUNNER=%%G
)
)
IF EXIST %RUNNER% (
GOTO FOUND
)
IF '%RUNNER%'=='' GOTO NOTFOUND
:FOUND
%RUNNER% %*
GOTO :EOF
:NOTFOUND
ECHO BottleRunner.exe not found.
EXIT /B 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.