Cross-platform script language deployment method
A scripting language, cross-platform technology, applied in the field of cross-platform deployment scripting language, can solve the problems of large resource consumption, high system complexity, and invalid space occupied by duplicate files.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] This embodiment proposes a method of deploying a cross-platform deployment scripting language, such as figure 1 As shown, first copy the scripting language engineering to be deployed to the build environment, then analyze and copy the dependency of the scripting language project to be deployed in the build environment, then put the project documents and dependencies of the scripting language engineering. Go to a directory; then generate the meta-information file of the directory content, and the executable Bootstrap file, and compress the directory, meta information file, and bootstrap files into single-text executables; finally deploy single file executable to the operating environment Perform execution.
[0031] In order to better implement the present invention, further, first decompress the contents of the single file executable program according to the meta-information file and the bootstrap file, and mount the directory into the FUSE user file system, then perform sin...
Embodiment 2
[0034] In addition to the above-described embodiment 1, in order to better achieve the present invention, for example, figure 2As shown, after copying the scripting language engineering to be deployed to the build environment, you need to judge whether there is a package manager profile. If you have a package manager profile, depending on the package manager profile analysis library dependent the language level. Relying on information; if there is no package manager profile, find the library dependence of all script files in the scripting language project, resulting in a library dependency information of the language level.
[0035] Further, after obtaining the library dependency information of the language level, it is further determined whether or not there is a cache; set the local cache module, if there is a cache, copy the dependency of the library dependency information of the language level by the local cache module to the language level In the dependency library directory;...
Embodiment 3
[0046] Based on any of the above embodiments 1-2, in order to better achieve the present invention, further, such as image 3 As shown, the compression production process of the single file executable program is: first compress the Bootstrap file, meta information file, engineering file, depending on the project file, the meta-information file, the project file, and the project record is compressed as a single file executable.
[0047] The other portions of the present embodiment are the same as any of the above-described embodiments, so it will not be described again.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 



