prospectus_pkgforge
Prospectus helpers for pkgforge
Usage
Add the following 2 lines to the .prospectus:
## Add this at the top
Prospectus.extra_dep('file', 'prospectus_pkgforge')
## Add this inside your item that has deps
extend ProspectusPkgforge::DepItems
As an example of a full real prospectus for amylum/curl:
Prospectus.extra_dep('file', 'pkgforge')
Prospectus.extra_dep('file', 'prospectus_pkgforge')
item do
expected do
github_release
repo 'bagder/curl'
regex /^curl-(\d+)_(\d+)_(\d+)$/, '\1.\2.\3'
end
actual do
git_tag
regex /^(.*)-\d+$/
end
extend ProspectusPkgforge::DepItems
end
Installation
gem install prospectus_pkgforge
License
prospectus_pkgforge is released under the MIT License. See the bundled LICENSE file for details.