Skip to content

Instantly share code, notes, and snippets.

@valvallow
Created June 5, 2012 03:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save valvallow/2872524 to your computer and use it in GitHub Desktop.
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