11 Star 90 Fork 18

Cocos/cocos-engine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

compatibility-info.json

This file is used to declare the compatibility of template files with previous versions.

Example:

{
    // include all supported native platforms, such as windows, ios, android, mac etc.
    "native":  // required
    {
        "default": ">=3.6.0",    // required, applied if any specific platform value is not provided 
        "windows": VERSION_RANGE // optional, supported version for Windows
        "mac": VERSION_RANGE     // optional, supported version for Mac
        "ios": VERSION_RANGE     // optional, supported version for iOS
        "android": VERSION_RANGE // optional, supported version for Android
    }
}

The VERSION_RANGE syntax examples

Simple conditions
  1. >=3.6.0
  2. >3.5.1
  3. <3.5.1
  4. <=3.5.1
  5. 3.3.2 , specify version
  6. !3.5.0 , excluded version
Composite conditions

The space is the 'AND' operation, and the '||' is the 'OR' operation

  1. >=3.6.0 <3.7.0
  2. 3.4.2 || >= 3.6.0
  3. >=3.4.0 !3.4.2 <3.5.0 || 3.6.0
Wildcard conditions
  1. 3.x is equivalent to >=3.0.0 <4.0.0
  2. 3.4.x is equivalent to `>= 3.4.0 .5.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cocos/cocos-engine.git
git@gitee.com:cocos/cocos-engine.git
cocos
cocos-engine
cocos-engine
develop

搜索帮助