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
{ "package": { "name": "playground", "version": "0.1.0", "wowlua": "^0.13" }, "flavors": { "camelot": {} }, "profiles": { "beta": { "log-level": "info" } }}{ "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"`
Related codes
| code | message |
|---|---|
| E4006 | Unknown profile, minification level, publish target or bundled addon referenced |
| E4007 | Cyclic profile or minification-level inheritance (inherits / extends) |
Offline
$ wowlua explain E4315 E4315 (error): Custom profile without inherits