Skip to content

build command ignores '--cache' #1556

Closed
@0xEAB

Description

@0xEAB

System information

  • dub version: 1.11.0+13-gb837cee
  • OS Platform and distribution: GNU/Linux 4.18, Ubuntu 18.04
  • compiler version: doesn't matter

Bug Description

The build command (dub build) ignores the package cache option specified by --cache.

How to reproduce?

Double-check that the used package does not exist in the user cache, otherwise you'll get fooled by DUB (for simplicity, this examples uses the package _ that acutally exists):

dub --cache=local fetch _
dub --cache=local build _
Failed to find a package named '_'.

Expected Behavior

Build that package THAT IS ACTUALLY THERE from the SPECIFIED local cache.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions