const mixinafFpm::PodManager

afFpm::PodManager

The public API for FPM.

make

Source

static new make(FpmConfig? fpmConfig := null)

Creates a PodManager instance.

publishPod

Source

abstract PodFile publishPod(File pod, Str? repo := null, Str? username := null, Str? password := null)

Publishes a pod file to the given repository.

repo may be:

  • a named local repository. Example, default
  • a named remote repository. Example, fantomFactory
  • the directory of a local repository. Example, C:\repo-release\
  • the URL of a remote repositry. Example, http://pods.fantomfactory.org/fanr/

Returns a PodFile representing the newly published pod.

repo defaults to default if not specified.

queryLocalRepositories

Source

abstract PodFile[] queryLocalRepositories(Str query)

Returns PodFiles from the local repositories that match the given query.

unPublishPod

Source

abstract Void unPublishPod(Str pod, Str? repo)

Deletes the named pod from the local repository.