Skip to content

Instantly share code, notes, and snippets.

@rain-1

rain-1/SPECIFICATION.txt

Last active Jun 5, 2019
Embed
What would you like to do?
DEPENDS.txt
# INTRODUCTION
This document specifies the DEPENDS.TXT file for a software project.
This is simply a list of the build time and runtime dependencies of the software.
# SPEC
The file is in TSV (tab separated values) format with UTF-8 encoding, so each line is a record describing a single dependency.
Each record is <package-name>\t<type>\t<version>
<package-name> is self explanatory and must not contain tabs or newlines.
<type> is optional and must be one of the following values:
* (build)
* (runtime)
* -
the dash signifies that the package is both a build and runtime dependency.
<version> is optional and can only be specified if <type> is specifed.
# EXAMPLE
m4\t(build)
pkgconfig\t(build)
libsdl\t(build)\t4.3
# DISCUSSION
Only a single version can be specified. version ranges are not supported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment