mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 11:02:20 +00:00
Short options are stored in the OPTIONS variable, and longs in LONG_OPTIONS. Modules scripts need to add theses to be able to use options. Theses lines are then parsed by sed at make-time and added to the corresponding variable in the main script. init_module now requires a third argument corresponding to the option that will trigger the execution of the module. Files can also be passed by argument to zip. They are stored in the FILES array. check_deps: - add dependency check for GNU getopt, - echo errors to stderr gen_version now returns 0 on success and 1 on failure. Add short_help function. Shown if -h options is passed, or on parsing options failure. exit_module: - add 'options' exit value if there is an error while parsing the options, - add 'version' exit value if there is an error while generating LÖVE version from user input. dump_var shows files to zip. Script will now exit if it has not been embedded nor installed. Fix bugs with default module.