-
-
Couldn't load subscription status.
- Fork 27
Closed
Labels
acceptedThe issue has been reviewed and accepted for implementationThe issue has been reviewed and accepted for implementationlanguage proposalproposal of a major feature to the languageproposal of a major feature to the language
Milestone
Description
It would be nice to be able to define dependencies that lives on the local filesystem. This would make it easier to test out unpublished packages, or for defining a package containing tests.
It's kinda possible to do this today by adding a folder to source-directories, however this comes with a few drawbacks:
- exposed-modules is not respected
- the dependencies are not respected
- projects of type
packagedo not allow settingsource-directories.
I therefore propose that you can add a project which resides on the local filesystem as a dependency, which for all intents and purposes work like any other dependency except it is not pulled from a remote git repo.
Such packages should have a few restrictions
- you cannot publish a package which has a dependency on a local package
- local packages cannot contain kernel code, even if the name of the package starts with
gren/.
In addition:
- projects with type
packageshould gain the ability to definesource-directories test-dependenciescan be removed. Unit tests can be defined in a package which define the main project as a local dependency.
lue-bird, allanderek, SiriusStarr, phenax, Strepto and 1 more
Metadata
Metadata
Assignees
Labels
acceptedThe issue has been reviewed and accepted for implementationThe issue has been reviewed and accepted for implementationlanguage proposalproposal of a major feature to the languageproposal of a major feature to the language