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

Test:: modules are build-time dependencies, but are listed as run-time dependencies #159

Closed
chrisnovakovic opened this issue Dec 3, 2014 · 0 comments

Comments

@chrisnovakovic
Copy link

In CGI-4.04, Test::Deep and Test::More are listed in META.json as run-time dependencies:

   "prereqs" : {
      "build" : {
         "requires" : {}
      },
      "configure" : {
         "requires" : {}
      },
      "runtime" : {
         "requires" : {
            "File::Spec" : "0.82",
            "Test::Deep" : "0.11",
            "Test::More" : "0.98",
            "if" : "0",
            "perl" : "5.008001"
         }
      }
   },

In fact, these modules are only ever used in the test scripts (Test::Deep in t/request.t, Test::More pretty much everywhere) and can therefore be moved to the "build" section of META.json.

@leejo leejo closed this as completed in 6589d58 Dec 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant