Skip to content

Override for development_dependencies #655

Open
@jwoertink

Description

I'm trying to test an update locally on Windows, and I'm not able to use the shard override for development_dependencies.

# shard.yml
name: test
version: 0.1.0
crystal: '>= 1.14.0'
license: MIT
development_dependencies:
  db:
    github: crystal-lang/crystal-db
    version: 0.13.1
# shard.override.yml
development_dependencies:
  db:
    github: crystal-lang/crystal-db
    branch: master
> $env:SHARDS_OVERRIDE = 'shard.override.yml'
> shards install

However, I do see that overrides from dependencies make it over. It seems to be just the development_dependencies that are ignored.

Expected Output

The install output should say "Installing db (0.13.1 at 892c256)"
Checking inside of the lib\db\src I expected to see changes made since the 0.13.1 release.

Actual Output

The install output says "Installing db (0.13.1)" and the lib dir shows code from 3eaac85

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions