I put it in the solution directory and add something like this to the post-build command field...
Code: Select all
powershell -file "$(SolutionDir)postbuild.ps1" -machinefile "$(TargetPath)" -packageroot "$(SolutionDir)Package" -type "Generator" -platform $(platform)
Code: Select all
powershell -file "$(SolutionDir)postbuild.ps1" -debug -machinefile "$(TargetPath)" -packageroot "$(SolutionDir)Package" -type "Generator" -platform $(platform)
Files are specified as: filename [@ destination]
Code: Select all
MyMachine Demo.bmx
.\Docs\MyMachine.html
.\Docs\*.html @ MyMachine\Docs\
.\Docs\*.jpg @ MyMachine\Docs\
.\Docs\*.css @ MyMachine\Docs