dub.recipe.io

Package recipe reading/writing facilities.

Members

Functions

parsePackageRecipe
PackageRecipe parsePackageRecipe(string contents, string filename, string parent_name, string default_package_name)

Parses an in-memory package recipe.

readPackageRecipe
PackageRecipe readPackageRecipe(string filename, string parent_name)
PackageRecipe readPackageRecipe(NativePath filename, string parent_name)

Reads a package recipe from a file.

serializePackageRecipe
void serializePackageRecipe(R dst, PackageRecipe recipe, string filename)

Converts a package recipe to its textual representation.

writePackageRecipe
void writePackageRecipe(string filename, PackageRecipe recipe)
void writePackageRecipe(NativePath filename, PackageRecipe recipe)

Writes the textual representation of a package recipe to a file.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Sönke Ludwig