Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Proper way to put comments in build events command line?

What's the proper way to put comments into the pre/post build event command line?

like image 538
SFun28 Avatar asked Apr 11 '11 19:04

SFun28


2 Answers

Use REM: http://www.robvanderwoude.com/comments.php

An example:

REM signtool sign /a $(TargetPath) xcopy /Y "$(TargetPath)" "C:\Deploy\$(TargetFileName)" 
like image 66
BrandonZeider Avatar answered Oct 14 '22 04:10

BrandonZeider


You can also use double colons ::

:: My comments xcopy /Y "$(TargetPath)" "C:\Deploy\$(TargetFileName)" 

I prefer these to the REM keyword in command line (and bat files).

like image 25
inliner49er Avatar answered Oct 14 '22 04:10

inliner49er