Skip to content
Elliot Shank edited this page Apr 12, 2017 · 11 revisions

resource

An asset statement that specifies either a URL or a local path (that will have file globbing performed on it) that is supposed to be incorporated into the package. This is different from an archive in that relative paths will be preserved and the contents will not be extracted as part of installation.

Can also be specified on the command-line via the --resource option.

See asset statement for more on how this works.

Syntax

The syntax in a package definition file is

resource URL
resource local/path

On the command-line, the syntax is

fig --resource URL ...
fig --resource local/path ...

Full syntax details in asset statements.