stromguo / js-builder

Automatically exported from code.google.com/p/js-builder
0 stars 0 forks source link

Override output using JSBuildConsole.exe (patch included) #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I wanted to be able to override the output target of a build from the command 
line (for 
continuous integration purposes) without touching the project file.  I went 
ahead and modified 
the application to take an /output flag and it seems to work fine, so here's a 
patch if you want to 
include it.

Also, I noticed a bunch of function calls designed to ensure that slashes are 
included in paths 
properly.  If you make use of the System.IO.Path.Combine function, you can 
ditch a bunch of that 
code.

Original issue reported on code.google.com by mrk...@gmail.com on 28 Dec 2006 at 9:05

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the patch -- I'll take a look at it and see if it's a good fit for 
general use.  Sounds good though.  Thanks also for the Path.Combine tip -- I 
guess I 
never noticed that method before!

Original comment by bmoes...@gmail.com on 28 Dec 2006 at 9:15

GoogleCodeExporter commented 8 years ago
Heh, yeah.  Path.Combine was a big "duh" moment for me when I finally found it. 
 Trailing slash issues always 
drove me nuts.

Original comment by mrk...@gmail.com on 28 Dec 2006 at 9:59

GoogleCodeExporter commented 8 years ago
Applied patch and added help text for the /output param when /? is specified.  
Thanks
again for the patch -- it worked great!

Original comment by bmoes...@gmail.com on 3 Jan 2007 at 9:02