Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View bottles
1 2 3 4 5
#!/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
View bottles
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
@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.