[Gambas-user] Scripter Add --fromProject to scripter that will convert a project to a script

Brian G brian at westwoodsvcs.com
Thu Mar 4 05:39:56 CET 2021


Right now it will only print warnings if select -w and verbose with -v, it prints the error and listing showing error., The errors are printed first and may come from more that one file being compiled.
We could add an option to suppress the error listing of the error file -terse, or maybe the opposite --error-detailed
The line numbers mean very little that are displayed in the error reports by the scripter without the listing of the file they are in. As again the there may be errors in more than one compiled file, or included file.
Remember that classes are each a separate file to the compiler. As well as the include files.
Any ideas what would work best?
--
Thanks
Brian Wednesday, 03 March 2021, 03:58PM -08:00 from Bruce Steers  bsteers4 at gmail.com :

>Sounds like a good feature 🙂
>
>Is there an option (even a default setting maybe) to not print the script on failure just the error?
>Or could there be?
>On Wed, 3 Mar 2021, 23:47 Brian G, < brian at westwoodsvcs.com> wrote:
>>Is anyone interested in having a command line parameter that will allow to create a script from a project?
>>
>>gbs3 --FromProject ~/MyProjectIn ~/MyScriptOut
>>
>>--FromProject having the project directory as input and script path as output
>>
>>"Failure is the key to success; 
>> each mistake teaches us something"  .. Morihei Ueshiba
>>Brian G
>>----[  http://gambaswiki.org/wiki/doc/netiquette ]----
>
>----[  http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210304/628ad9db/attachment.htm>


More information about the User mailing list