Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: various tricks to make PR builds faster #727

Merged
merged 1 commit into from Dec 18, 2020

Conversation

jkowalski
Copy link
Contributor

No description provided.

@@ -97,6 +102,12 @@ html-ui-bindata-fallback: $(go_bindata)
kopia-ui:
$(MAKE) -C app build-electron

# build-current-os compiles a binary for the current os/arch in the same location as goreleaser
# kopia-ui build needs this particular location to embed the correct server binary.
# the binary does not embed actual UI.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# the binary does not embed actual UI.

😕 Not sure I understand the comment. I appears to me as if the UI is being embedded.

  • The target depends on html-ui-bindata which generates htmlui_bindata.go with an embedhtml build tag.
  • Then this builds the kopia binary and specifies the enbedhtml build tag.
    I'm probably missing something.

@julio-lopez julio-lopez merged commit 7873fe8 into kopia:master Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants