doc:lua_make
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:lua_make [2014/02/24 02:10] – [Connect yourself to the central Script Repository] admin | doc:lua_make [2014/03/02 07:33] (current) – admin | ||
---|---|---|---|
Line 18: | Line 18: | ||
===== Setup the Cygwin Runtime Environment ===== | ===== Setup the Cygwin Runtime Environment ===== | ||
- | To use the much more powerful unix environment instead of just a stupid DOS command interface, you need to install at first a [[http:// | + | To use the much more powerful unix environment instead of just a stupid DOS command interface, you need to install at first a [[http:// |
===== Basics about the Cygwin Environment ===== | ===== Basics about the Cygwin Environment ===== | ||
Line 77: | Line 77: | ||
The **tools** directory contains all the necessary oobd related programs and scripts. The experienced user might need to know that some of the subdirectories are linked as so called " | The **tools** directory contains all the necessary oobd related programs and scripts. The experienced user might need to know that some of the subdirectories are linked as so called " | ||
- | The **oobd_groups.pub** is a pgp keyring which contains the public keys of the workgroups, | + | The **oobd_groups.pub** is a pgp keyring which contains the public keys of the workgroups, |
Finally there' | Finally there' | ||
Line 199: | Line 199: | ||
In opposite to all the complicate setup and explanations above, the build process is just simple: | In opposite to all the complicate setup and explanations above, the build process is just simple: | ||
- | Edit or add the files as you need. For a good start, choose one of the existing *.lua files, copy it to where you need it and give it a clear name. Make sure that the script | + | Edit or add the files as you need. For a good start, choose one of the existing *.lua files, copy it to where you need it and give it a clear name. Make sure that the script |
Then type in the cygwin command line windows the following commands one after the other. If you do this in a workgroup folder, only the files in that folder will be proceed. If you type the commands in the lua root folder, then all workgroup folders, which you have listed in the local.make will be proccessed. | Then type in the cygwin command line windows the following commands one after the other. If you do this in a workgroup folder, only the files in that folder will be proceed. If you type the commands in the lua root folder, then all workgroup folders, which you have listed in the local.make will be proccessed. | ||
Line 205: | Line 205: | ||
- **make clean**: this will remove all older results and temporary files | - **make clean**: this will remove all older results and temporary files | ||
- **make**: This will convert all module XML files, all other templates and all *.lua files into Lua source files with the extension .luasource. Although normal *.lua files will only been copied by this, this renaming is necessary to not accidently delete some handwritten *.lua files when calling "make clean" | - **make**: This will convert all module XML files, all other templates and all *.lua files into Lua source files with the extension .luasource. Although normal *.lua files will only been copied by this, this renaming is necessary to not accidently delete some handwritten *.lua files when calling "make clean" | ||
- | - **make scripts**: This will now start the real compile process, where the lua- compiler takes all luasource files and translates them into precompiled binaries (+.lbc). Hint: During the compilation of a script all include files are linked together in a temporary file called lua.tmp. If the compiler fails with any error message, that is the right file to look into why the compiler is complaining. | + | - **make scripts**: This will now start the real compile process, where the lua- compiler takes all luasource files and translates them into precompiled binaries (*.lbc). Hint: During the compilation of a script all include files are linked together in a temporary file called lua.tmp. If the compiler fails with any error message, that is the right file to look into why the compiler is complaining. |
- | - **make pack**: When enabled and configured in local.make, this call will take all compiled *.lbc files and encrypt them accourding to the workgroup directory in which they are in and copy the result and make up the folderstructure in the target directory, which is also configured in local.make | + | - **make pack**: When enabled and configured in local.make, this call will take all compiled *.lbc files and encrypt them accourding to the workgroup directory in which they are in, make up the folderstructure in the target directory, which is also configured in local.make, and and copy the results into it. |
| | ||
After that the final output can be found in the configured target directory, encrypted and ready to distribute. | After that the final output can be found in the configured target directory, encrypted and ready to distribute. |
doc/lua_make.1393204234.txt.gz · Last modified: 2014/02/24 02:10 by admin