Automatically check for syntax of scripts when building package.