Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dist test or utility function #28

Open
agjohnson opened this issue Aug 7, 2012 · 0 comments
Open

Add dist test or utility function #28

agjohnson opened this issue Aug 7, 2012 · 0 comments
Labels

Comments

@agjohnson
Copy link
Owner

Distribution/OS checking could be built into a utility function or a proper test. It could be used like:

my $t = dist(
    ubuntu => noop(1),
    centos => noop(0),
    netbsd => noop(0)
);

default return would be undef -- this will require processing change. Pkg test could drop the hash parsing, but keep distribution checking for finding which package manager to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant