13.0.1-9 • Published 8 months ago
@xiaobaidadada/prebuild v13.0.1-9
添加功能:
--build参数: 添加此参数后不在执行项目下的binding.gyp进行构建,而是用开发自己的输入的js文件或者命令来构建,可用于一些需要环境变量的构建的情况。--upload-files参数: 和--upload-all参数的区别是该参数是开发者自己指定文件,而不是默认的prebuilds目录,多个文件使用","符号分割。文件都支持 src/*/ 这样的语法。--upload-files-gz参数: 和--upload-files作用一样,只不过会把文件一个个压缩成tar.gz。--set-version参数: 用于设置特定的版本 \"\" 可以置空
Add Function:
--buildparameter: When this parameter is added, the build process will skip executing the binding.gyp file in the project directory and instead use a custom JavaScript file or command provided by the developer. This is useful for situations that require specific environment variables during the build process.--upload-filesparameter: The difference between this and the--upload-allparameter is that this parameter allows the developer to specify the files to upload, rather than defaulting to the prebuilds directory. Multiple files should be separated by commas.--upload-files-gzparameter: This functions the same way as the--upload-filesparameter, except that it will compress each file into a zip before uploading.