FPM.ftd
FPM.ftd
.-- import: fpm -- fpm.package: amitu repo: github
fpm.package
ftd section
in FPM.ftd
file.repo: optional string
An FPM package can be hosted on fpm-repo
or on Github etc.
If the key is missing, the package is assumed to be hosted on fpm-repo
,
www.fifthtry.com
.
If the package is hosted on Github, then it must be repo: github
.
Note: package name must match with the repo related name. Eg for a package hosted
on Github under the repo: github.com/foo/bar
must have the package name:
foo/bar
.
The value of repo
can also be path to a .zip
file, so if you want to use an
specific version from Git repo, you can locate its corresponding .zip
file and
store it here.
fpm.dependency
-- import: fpm -- fpm.package: amitu -- fpm.dependency: fifthtry/fpm-blog repo: github
Here the package amitu
has a dependency on fifthtry/fpm-blog
. When any
dependency is specified, fpm build
downloads and stored it in .packages
folder.
Any number of dependencies can be mentioned.
repo
repo
is omitted it is assumed to the same as repo
of the current package.fpm.font
font
blocks:-- fpm.font: myFirstFont woff: sansation_light.woff woff2: sansation_light.woff
woff
, woff2
The URL of the font files. Both woff
and woff2
are supported. We will use
woff2
if it is provided, else woff
.
At least one of the two must be provided.
fpm.ignore
You can add files to ignore when creating a build. Ignored files are not processed
during build process, and are not made part of .build
folder.
By default fpm
already ignores all files that git
ignores, if the package is
part of a git repository. You can also ignore files by using fpm.ignore
:
-- fpm.ignore: *.txt -- fpm.ignore: /db.sqlite