v0.13.7
errors and warnings / manifest

errors and warnings / manifest / E4316

E4316 error

Workspace member sets its own build.out

area
manifest (x4xxx)
fails the build
yes

A workspace member sets its own build.out. All addons of a workspace are built into one output folder, the workspace root's build.out (by default dist), so that dist/<profile>/ holds every AddOn side by side.

Remove build.out from the member, and set it in the workspace root if you want another folder.

Example

× failswowlua.jsonjson
{    "package": {        "name": "playground",        "version": "0.1.0",        "wowlua": "^0.13"    },    "flavors": {        "camelot": {}    },    "workspace": {        "members": ["options"],        "default-members": ["."]    }}
options/wowlua.jsonjson
{    "package": {        "name": "playground-options",        "version": "0.1.0"    },    "flavors": {        "camelot": {}    },    "build": {        "out": "build"    }}
✓ compileswowlua.jsonjson
{    "package": {        "name": "playground",        "version": "0.1.0",        "wowlua": "^0.13"    },    "flavors": {        "camelot": {}    },    "build": {        "out": "build"    },    "workspace": {        "members": ["options"],        "default-members": ["."]    }}
options/wowlua.jsonjson
{    "package": {        "name": "playground-options",        "version": "0.1.0"    },    "flavors": {        "camelot": {}    }}

The compiler reports it like this:

error[E4316]: a workspace member may not set `build.out`
 = in options/wowlua.json
 = help: the workspace root's `build.out` holds every member's build

Offline

terminal
$ wowlua explain E4316
E4316 (error): Workspace member sets its own build.out

source on GitHub ↗