26gurcbuild Module

The gurcbuild module is prepared to help create a composite Gura file, which contains script and other data files.

The example below would create a composite Gura file named hello.gurc that contains three files:

import(gurcbuild)

gurcbuild.build(['hello.gura', 'startimg.jpg', 'README.txt'])

26.1Module Function

gurcbuild.build(pathNames[]:string, dirName?:string)

Creates a composite Gura file from files specified by pathNames, which includes script and other data files. The first entry of pathNames must be a script file that is to be executed as a main script.

The result file would be created in the directory specified by dirName. If the argument is omitted, the file would be created in the current working directory.