option to build without compile?
Monkey Forums/Monkey Programming/option to build without compile?
| ||
Could we get an option to compile the project without building. e.g. it would simply create the output files. I am currently debugging some stuff on iOS, and its painfully a painfully slow process. I am working like this: - build in mollusk - wait for that to finish - press run in xcode The whole thing takes a long time so if we could just have monkey spit out the project files? |
| ||
Thats actually not a bad idea. That could help a lot. |
| ||
In TED you can just click the first little rocket to build-only and then refresh/clean in XCode. (Sorry, I might not be on the right page) |
| ||
benmc, for iOS at least, it will actually do a much more involved build operation. It doesn't just spit out the project files. Further to the suggestion, it would be good perhaps if we could build from trans with an option to only update changed files and data? So instead of having to copy the entire apps worth of data files it would only copy ones that have changed. Or maybe it already does this? |
| ||
So instead of having to copy the entire apps worth of data files it would only copy ones that have changed. Or maybe it already does this? +1 it does not do this and this is a great suggestion for all targets. |
| ||
@Skn3, use "-update" instead of "-build" or "-run":transcc -target=iOS_Game -config=release -update mainfile.monkey |
| ||
ohhh cool i'll give this a shot, thanks :D |
| ||
Also Glfw is awfully slow. I don't know which exact step is the slowsest because compiling & linking are both pretty slow operations in c++ anyway. But I am sure that the whole copying stuff also takes a while. Has anybody recommendations on how to speed that up? |
| ||
If you compile in glfw in debug it does seem quicker the second time. programmer, cheers for teh suggestion. I just whipped up an automator script to save all files in mollusk, call for the project to -update, activate the correct xcode window and then click teh run menu. Much quicker :D |
| ||
for anyone that would like to create something similar install a cmd line notification app. Run this in terminal sudo gem install terminal-notifier now run Automator and create a new application now add the following three actions, make sure to change the bits required for your project. Automator step 1 "run apple script" Automator step 2 "run shell script" Automator step 3 "run apple script" |
| ||
Sweet! Thanks Skn3! As usual, good work :) |
| ||
Check out the Ted 'build' menu - there's 'Update target project' and 'check source'. |
| ||
Does the update do anything about data.file versioning? To lighten the load of file copying for larger projects? |