Scroll to navigation

DUB-UPGRADE(1) The D Language Foundation DUB-UPGRADE(1)

NAME

dub - Package and build management system for D

SYNOPSIS

dub upgrade [<packages...>] OPTIONS...

DESCRIPTION

Upgrades all dependencies of the package by querying the package registry(ies) for new versions.

This will update the versions stored in the selections file (dub.selections.json) accordingly.

If one or more package names are specified, only those dependencies will be upgraded. Otherwise all direct and indirect dependencies of the root package will get upgraded.

OPTIONS

--prerelease
Uses the latest pre-release version, even if release versions are available
--verify
Updates the project and performs a build. If successful, rewrites the selected versions file <to be implemented>.
--dry-run
Only print what would be upgraded, but don't actually upgrade anything.
--missing-only
Performs an upgrade only for dependencies that don't yet have a version selected. This is also done automatically before each build.
--force-remove
Deprecated option that does nothing.

FILES

dub.sdl, dub.json

AUTHOR

Copyright (c) 1999-2018 by The D Language Foundation

ONLINE DOCUMENTATION

http://code.dlang.org/docs/commandlinehttp://code.dlang.org/docs/commandline

SEE ALSO

dmd(1) dub(1)
2018-12-21 The D Language Foundation