Skip to content

Fails to package github.com/charmbracelet/x/ansi #222

@mdosch

Description

@mdosch

Dear maintainer,

I want to package github.com/charmbracelet/x/ansi as it is a dependency of the latest golang-github-charmbracelet-lipgloss, but dh-make-golang does not work for me in that case:

~/build/go/bin/dh-make-golang -type lib github.com/charmbracelet/x/ansi
2024/06/26 21:43:43 Starting "dh-make-golang v0.7.0 linux/amd64"
2024/06/26 21:43:43 Continuing with repository root "github.com/charmbracelet/x" instead of specified import path "github.com/charmbracelet/x/ansi" (repositories are the unit of packaging in Debian)

So it wants to package github.com/charmbracelet/x instead of github.com/charmbracelet/x/ansi, which would probably also be ok but somehow it only adds the source files of github.com/charmbracelet/x/exp:

 ll golang-github-charmbracelet-x
insgesamt 20K
-rw-rw-r-- 1 martin martin 1,1K 26. Jun 21:43 LICENSE
-rw-rw-r-- 1 martin martin 1,7K 26. Jun 21:43 README.md
drwxr-xr-x 4 martin martin 4,0K 26. Jun 21:43 debian
drwxrwxr-x 3 martin martin 4,0K 26. Jun 21:43 exp
-rw-rw-r-- 1 martin martin   28 26. Jun 21:43 go.work

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