-
Notifications
You must be signed in to change notification settings - Fork 0
Scripts
Synchronizes the files between the runtime and your project. It creates default files, like index.html.
You can use and change files only copied like index.html for your own usage and keep some files in sync with the library, so if a new runtime comes in place, you will participate from the update.
The job is using the section "sync.pages" of pages.json file, located in the root of your project. Default sync are:
- "runtime.js" and "runtime.css" which are always synced from the runtime library with the ">" command. To signal, that you should not touch these files, they will be stored with the prefix "_" in the filename (i.E. "_runtime.js").
- "settings.js" and "WebRoutes.cpp/h" are files, that will be synced only, if they don't exist by the command "=".
Define files to be synced with:
<sourcemask> <command> <target>
The source will be searched in your project structure first, afterwards in the runtime library under /lib/PLibESPV1.
| command | meaning |
|---|---|
| > | The source will be copied in any case. |
| = | The source will be copied if the target does not exist. |
| <> | Sync the files, rhe newest version form source or target will overwrite the counterpart |
| < | The target will replace the source. |
Builds the pages of the Web Frontend and joines them to be used by the application by using the control file "pages.json" in the root of the project.
It uses the section "usePages" from the file "pages.json" in the root of the directory to scan the page definitions and to build the final files:
- The pages html file that will be loaded from the frontend by using the settings in pages.json "locations.webSource" and "out.pageFile" to build the target file =>
$(locations.webSource)/$ (out.pageFile)" - All page.html files will be joined into the final pages.html
This job is using the pages.json file in the root of the directory and builds all defined pages.
A Page consists