Announcement

Collapse
No announcement yet.

Syntax checking Script files as part of Builds

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Syntax checking Script files as part of Builds

    Why doesn't SF do a syntax check on any included script files as part of each Build, and fail the build if the syntax check fails? It seems to me that would be a really good idea, so in essence problems could be found immediately at build time instead of possibly (depending on whether incorrect code in the script file got called) at run time of the installer?

    Yes, I know if I do all of my editing of script files in your built-in editor, I can use the menu option for syntax checking there, but first of all I'd have to remember to always do that, and second, I prefer to use my own editor.

    For that matter, even within your script editor for script files, why doesn't it syntax check on save attempts, like the editor for internal scripts (like On Startup etc.) does?
    Dan Cooperstock [email protected]
    416-423-7722

  • #2
    Another place that I just noticed doesn't get syntax checked, even at run time in the IDE, is in the File Properties dialog, Conditions tab, Script Condition field. Won't bad script expressions there cause the installer to fail?
    Dan Cooperstock [email protected]
    416-423-7722

    Comment

    Working...
    X