Skip to content

Instantly share code, notes, and snippets.

@valvallow
Created June 5, 2012 03:52
Show Gist options
  • Select an option

  • Save valvallow/2872524 to your computer and use it in GitHub Desktop.

Select an option

Save valvallow/2872524 to your computer and use it in GitHub Desktop.
#!/bin/sh
DEVENV_PATH="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/devenv.com"
# get last argument
SLN_PATH=`eval echo '$'{$#}`
SLN_PATH_DOS=`cygpath -d "$SLN_PATH"`
"$DEVENV_PATH" ${@:1:`expr $# - 1`} "$SLN_PATH_DOS" | nkf
% devenv /rebuild release ~/hoge.sln
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment