v0.13.7
errors and warnings / manifest

errors and warnings / manifest / E4315

E4315 error

Custom profile without inherits

area
manifest (x4xxx)
fails the build
yes

A profile of your own does not say which profile it builds on. Only dev, release and test have defaults; every other profile starts from one of them through inherits and changes only what it sets.

Add "inherits": "dev" or "inherits": "release" (or the name of another profile of yours).

Example

× failswowlua.jsonjson
{    "package": {        "name": "playground",        "version": "0.1.0",        "wowlua": "^0.13"    },    "flavors": {        "camelot": {}    },    "profiles": {        "beta": { "log-level": "info" }    }}
✓ compileswowlua.jsonjson
{    "package": {        "name": "playground",        "version": "0.1.0",        "wowlua": "^0.13"    },    "flavors": {        "camelot": {}    },    "profiles": {        "beta": { "inherits": "release", "log-level": "info" }    }}

The compiler reports it like this:

error[E4315]: custom profile `beta` must name the profile it builds on
   ┌─ wowlua.json:11:9
   │
11 │         "beta": { "log-level": "info" }
   │         ^^^^^^ missing `inherits`
   │
   = help: add `"inherits": "dev"` or `"inherits": "release"`
codemessage
E4006Unknown profile, minification level, publish target or bundled addon referenced
E4007Cyclic profile or minification-level inheritance (inherits / extends)

Offline

terminal
$ wowlua explain E4315
E4315 (error): Custom profile without inherits

source on GitHub ↗