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

Adjust Makefile for additional target lavad-protocol #697

Merged
merged 12 commits into from
Aug 13, 2023

Conversation

orenl-lava
Copy link
Contributor

User must explicitly choose the target binaries, via the target(s) or using env-var LAVA_BINARY:

{build,install}-lavad: build/install lavad
{build,install}-lava-protocol: build/intsall lava-protocol
{build,install}-all: build/install all binaries
{build,install}: build/install $LAVA_BINARY (in env; error if unset)

User must explicitly choose the target binaries, via the target(s)
or using env-var LAVA_BINARY:

{build,install}-lavad: build/install lavad
{build,install}-lava-protocol: build/intsall lava-protocol
{build,install}-all: build/install all binaries
{build,install}: build/install $LAVA_BINARY (in env; error if unset)
@orenl-lava orenl-lava force-pushed the makefile-fix-build-install branch from b2a6dbe to 1bf4a1a Compare August 9, 2023 17:54
ranlavanet and others added 4 commits August 10, 2023 12:14
User must explicitly choose the target binaries, via the target(s)
or using env-var LAVA_BINARY:

{build,install}-lavad: build/install lavad
{build,install}-lava-protocol: build/intsall lava-protocol
{build,install}-all: build/install all binaries
{build,install}: build/install $LAVA_BINARY (in env; error if unset)
Also, adjust the target so it only runs if *.proto files changed.
Also, change it so docker uses ephemeral containers (not permanent).
@orenl-lava orenl-lava force-pushed the makefile-fix-build-install branch from c3072f0 to 45dbc8a Compare August 10, 2023 13:07
Makefile Show resolved Hide resolved
lava-protocol/main.go Outdated Show resolved Hide resolved
ranlavanet
ranlavanet previously approved these changes Aug 10, 2023
ranlavanet
ranlavanet previously approved these changes Aug 10, 2023
Copy link
Collaborator

@omerlavanet omerlavanet left a comment

Choose a reason for hiding this comment

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

If e2e builds we need to remove the build from the e2e workflow otherwise we build twice

@omerlavanet omerlavanet self-requested a review August 13, 2023 10:43
@ranlavanet ranlavanet merged commit 3b126fd into main Aug 13, 2023
@ranlavanet ranlavanet deleted the makefile-fix-build-install branch August 13, 2023 13:21
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.

3 participants