Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 864 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 864 Bytes

PkgVersion.jl

Build Status Coverage Status

Provide macros to access fields version, uuid, authors in `Project.toml at compile time.

Usage

module MyModule
using Tar
using PkgVersion

const VERSION = PkgVersion.@Version 0
const UUID = PkgVersion.@Uuid 
const AUTHOR = PkgVersion.@Author "unknown@nowhere"

const VERSION_TAR = PkgVersion.Version(Tar)  

end

Notes

File Project.toml must be readable in package directory.

Author returns the first string of field authors.