Skip to content

release-3.1.0: internal/server/server.go:19:12: pattern out/*: no matching files found #231

@jlsalvador

Description

@jlsalvador

Describe the bug
You forget the "out" directory for the release 3.1.0.

The makefile "build" does not compiles the web, the "out" directory. What do you think about add a dependency to a new target? Maybe a web?

The new target could execute:

  • cd web (change workdir)
  • npm ci
  • npm run build
  • mv out ../internal/server/

Another alternative could be to write an embed.go in the project root, in order to include the folder "web/out".

Thoughts?

The frequency of this issue

  • This issue is easy to reproduce.
  • This issue is not easy to reproduce.

Steps to Reproduce
Download latest release, try to compile it.

Your GoDNS configuration

Expected behavior
A successful 3.1.0 binary.

Screenshots

Environment (please complete the following information):

  • Compiling the AUR package in a clean working directory.

Additional context

  • Time for a 3.1.1 release. 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions