Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Code Snippets post build steps
Alpha:
Is there any reason Code Snippets tries to run update.bat - albeit unsuccessfully - as a post build step (on Windows) during the compilation of contrib plugins?
ollydbg:
I think it's a bug to add "update.bat" in codesnippets.cbp file.
Jenna:
--- Quote from: ollydbg on February 27, 2012, 06:36:57 am ---I think it's a bug to add "update.bat" in codesnippets.cbp file.
--- End quote ---
No, it's not.
Several contrib-plugins have their own update[.bat]-script to run all post-build-steps through one file.
It's easier to test and to maintain.
These plugins do not run C::B's core update[.bat]-script !
ollydbg:
--- Quote from: jens on February 27, 2012, 08:18:19 am ---
--- Quote from: ollydbg on February 27, 2012, 06:36:57 am ---I think it's a bug to add "update.bat" in codesnippets.cbp file.
--- End quote ---
No, it's not.
Several contrib-plugins have their own update[.bat]-script to run all post-build-steps through one file.
It's easier to test and to maintain.
These plugins do not run C::B's core update[.bat]-script !
--- End quote ---
Oh, thanks. (I was not aware of that :))
Pecan:
--- Quote from: Alpha on February 27, 2012, 04:20:48 am ---Is there any reason Code Snippets tries to run update.bat - albeit unsuccessfully - as a post build step (on Windows) during the compilation of contrib plugins?
--- End quote ---
Specifically, to create the folders that may not exits.
Is there a reason you say it's unsuccessful. It works here.
--- Code: ---Output size is 10.37 MB
Running project post-build steps
update.bat
Process terminated with status 0 (1 minutes, 29 seconds)
0 errors, 1 warnings (1 minutes, 29 seconds)
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version