1. Shawn Lipowski
  2. BrainBugz

Source

BrainBugz / vc / vc10 / postBuildBrainBugz.cmd

@echo off


set deployDir=%2%..\..\plugin\win\2012_x64
::set deployDir=..\..\..\plugin\win\2012_x64
if not exist %deployDir% mkdir %deployDir%

set compiledDLL=%1%

echo Copying "%compiledDLL%" To "%deployDir%"

copy "%compiledDLL%" "%deployDir%"

echo Finished copying


if exist "%deployDir%\brainbugz.mll" (
    echo Deleting "%deployDir%\brainbugz.mll"
    del "%deployDir%\brainbugz.mll"
)


echo Renaming brainbugz2012.dll to brainbugz.mll

ren "%deployDir%\brainbugz2012.dll" "brainbugz.mll"


echo Post build batch script finished.