Skip to content

Let new projects not carry the dependency burden of amber CLI #1365

Description

@hugopl

Description

Amber have a lot of dependencies, this wouldn't be so bad if the projects that depends on it wouldn't need to carry this dependency burden, like always depend on sqlite3, mysql and postgres.

If I didn't misunderstood anything, amber CLI is meant to be installed in the system, e.g. there's a ArchLinux amber package on AUR.

Steps to Reproduce

  1. Run amber new foo then shards install

Expected behavior: [What you expect to happen]

I would expect the first shards install to depend only on things that my project needs to be compiled, not everything that is needed to compile a new amber CLI.

Actual behavior: [What actually happens]

The new project will depend on everything that amber CLI depends to be built.

Reproduces how often: [What percentage of the time does it reproduce?]

100%

Versions

Crystal 1.14, amber 4088e62, shards 0.18.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions