Is it possible to include haks and erfs in mod target? #97
-
I'm not seeing my erf included in my mod when it gets packed. Is there a way to have the build include resources when packing the mod? [Target] |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Example adapted from my Core Framework project: [Sources]
include = "src/**/*.{nss,json}"
[Target]
name = "mod"
description = "A demo module showing the system in action"
file = "core_framework.mod"
exclude = "src/core/core_c_config.nss" # Use src/demo/core_c_config.nss instead
[Target]
name = "erf"
description = "An importable erf for use in new or existing modules"
file = "core_framework.erf"
exclude = "src/demo/*" Note: in this example, the module-specific files live in the You can unpack the erf into the source tree using |
Beta Was this translation helpful? Give feedback.
erf
files cannot be included in a module, but the files within them can be. What you need to do is extract the erf into your source tree andinclude
those files in your module.Example adapted from my Core Framework project:
Note: in this example, the module-specific files live in the
src/demo
directory, so theerf
targe…