-
Notifications
You must be signed in to change notification settings - Fork 1k
lock build/test-time dependencies #1554
Comments
Note: I can't just
|
you're lookin for |
Ah I did not find that thanks! I am now using this but I have 2 notes:
IMO this is proof that the current state of development-time dependencies is more than lacking: the workaround is unsound and can lead to very surprising bugs to most. |
That's not what they are. They're dual to each other , The models and mechanisms docs may be helpful.
Because the action of adding a dependency is usually not the same as saying "i want this package to be present in my build forevermore". i could imagine adding a
Constraints are encoded as part of the argument spec. See
No bugs there - it just means you haven't set any rules, so dep will grab the latest version that's out there. Same as if you
|
Locking deps that are needed only at build or test time would
dep ensure
Example of such dependencies:
go:generate
: schematyper, jsonenums, ...If I missed a way to do this with current
dep
please redirect me :)The text was updated successfully, but these errors were encountered: